Skip to content

Instantly share code, notes, and snippets.

@sclark39
Last active August 29, 2015 14:00
Show Gist options
  • Save sclark39/11241575 to your computer and use it in GitHub Desktop.
Save sclark39/11241575 to your computer and use it in GitHub Desktop.
My ZeroBrane Config
--[[--
Use this file to specify User preferences.
Review [examples](+C:\Users\Sky\Desktop\ZeroBrane-0.39\cfg\user-sample.lua) or check [online documentation](http://studio.zerobrane.com/documentation.html) for details.
--]]--
editor.tabwidth = 4
editor.usetabs = true
editor.nomousezoom = true
-- allow auto-complete of user words
acandtip.nodynwords = false
-- to automatically open files requested during debugging
editor.autoactivate = true
-- allow editting of files while debugging
debugger.allowediting = true
-- don't pause when starting
debugger.runonstart = true
-- allow more than one version of zerobrane open at a time
singleinstance = false
-- to disable wrapping of long lines in the editor
editor.usewrap = false
-- disable underlining on functionals, locals, and globals
styles.indicator.fncall = {st = wxstc.wxSTC_INDIC_HIDDEN };
styles.indicator.varlocal = {st = wxstc.wxSTC_INDIC_HIDDEN };
styles.indicator.varglobal = {st = wxstc.wxSTC_INDIC_HIDDEN };
styles.indicator.varmasking = {fg = {255,0,0}};
styles.indicator.varmasked = {fg = {255,0,0}};
--styles.stringtxt = {fg = {0, 120, 0}};
moai = { entrypoints = {"src/main.lua", "main.lua"} }
local G = ...
keymap[G.ID_VIEWFULLSCREEN] = "F11"
-- to set compact fold that doesn't include empty lines after a block
editor.foldcompact = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment