Thanks Paul. I really need both HTML and LUA highlighted. I really like the editor and the speed. Mark ________________________________ From: Paul K <paul@xxxxxxxxxxxxx> To: zerobrane@xxxxxxxxxxxxx Sent: Saturday, January 26, 2013 1:35 PM Subject: [ZeroBrane Studio] Re: BarracudaDrive Hi Mark, > html mixed in. How can I get the zerobrane editor to recognize this .lsp as > lua/html code. You can set .lsp as an extension to be recognized by ZBS; add this to the user.cfg file: local G = ... -- this now points to the global environment in the script local luaspec = G.ide.specs['lua'] luaspec.exts[#luaspec.exts+1] = "lsp" Here is a link to a sample config file: https://github.com/pkulchenko/ZeroBraneStudio/blob/master/cfg/user-sample.lua#L13; the details on how to set this are here: http://studio.zerobrane.com/doc-configuration.html. This won't allow you to recognize HTML and Lua code in one file, but all Lua code should be syntax highlighted as you'd expect. Paul. On Sat, Jan 26, 2013 at 9:41 AM, Mark Kleshinski <mkleshinski@xxxxxxxxx> wrote: > I'm using BarracudaDrive which allow lua and html integrated in an coded > file. The extension used by BarracudaDrive is .lsp which again has lua and > html mixed in. How can I get the zerobrane editor to recognize this .lsp as > lua/html code. > Thanks, Mark