Advertisement
Inksaver

Zerobrane system settings

Aug 23rd, 2021 (edited)
1,245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.12 KB | None | 0 0
  1. --[[--
  2.   Use this file to specify **System** preferences.
  3.   Review [examples](\ZeroBraneStudio\App\cfg\user-sample.lua) or check [online documentation](http://studio.zerobrane.com/documentation.html) for details.
  4. --]]--
  5. activateoutput = true -- activate Output or Console window on new content added.
  6. -- Love2D can be placed inside a Zerobrane/love2D/ folder:
  7. path.love2d = 'love2D/love.exe' -- change this path to suit your system eg 'C:/Program Files/LOVE/love.exe'
  8. -- to change font size to 12
  9. editor.fontsize = 12 -- this is mapped to ide.config.editor.fontsize
  10. editor.fontname = "Consolas"
  11. filetree.fontsize = 12 -- set font size (the default size is 11 on macOS).
  12. filehistorylength = 20 -- this is mapped to ide.config.filehistorylength
  13. -- to have 4 spaces when TAB is used in the editor
  14. editor.tabwidth = 4
  15. -- to have TABs stored in the file (to allow mixing tabs and spaces)
  16. editor.usetabs  = true
  17. -- to disable wrapping of long lines in the editor
  18. editor.usewrap = false
  19. -- to turn dynamic words on and to start suggestions after 4 characters
  20. acandtip.nodynwords = false
  21. acandtip.startat = 4
  22.  
  23. -- to turn off checking for mixed end-of-line encodings in loaded files
  24. editor.checkeol = false
  25.  
  26. -- to force execution to continue immediately after starting debugging;
  27. -- set to `false` to disable (the interpreter will stop on the first line or
  28. -- when debugging starts); some interpreters may use `true` or `false`
  29. -- by default, but can be still reconfigured with this setting.
  30. debugger.runonstart = true
  31.  
  32. -- to set compact fold that doesn't include empty lines after a block
  33. editor.foldcompact = true
  34.  
  35. console.fontname = "Consolas" --set font name.
  36. console.fontsize = 10 --set font size (the default value is 11 on macOS).
  37. console.nomousezoom = false --disable zoom with mouse wheel in the Console window as it may be too sensitive.
  38. output.fontname = "Consolas" -- set font name.
  39. output.fontsize = 10 -- set font size (the default value is 11 on macOS).
  40. -- to change the default color scheme; check tomorrow.lua for the list
  41. -- of supported schemes or use cfg/scheme-picker.lua to pick a scheme.
  42. --styles = loadfile('cfg/tomorrow.lua')('Tomorrow')
  43. --styles = loadfile('cfg/tomorrow.lua')('TomorrowContrast')
  44. --styles = loadfile('cfg/tomorrow.lua')('TomorrowNight')
  45. --styles = loadfile('cfg/tomorrow.lua')('TomorrowNightBlue')
  46. --styles = loadfile('cfg/tomorrow.lua')('TomorrowNightBright')
  47. --styles = loadfile('cfg/tomorrow.lua')('TomorrowNightEighties')
  48. --styles = loadfile('cfg/tomorrow.lua')('Zenburn')
  49. --styles = loadfile('cfg/tomorrow.lua')('Monokai')
  50. --styles = loadfile('cfg/tomorrow.lua')('Molokai')
  51. --styles = loadfile('cfg/tomorrow.lua')('SolarizedDark')
  52. --styles = loadfile('cfg/tomorrow.lua')('SolarizedLight')
  53. --styles = loadfile('cfg/tomorrow.lua')('NotepadPlusPlus')
  54. styles = loadfile('cfg/tomorrow.lua')('SciTeLuaIDE')
  55.  
  56. stylesoutshell = styles -- apply the same scheme to Output/Console windows
  57. styles.auxwindow = styles.text -- apply text colors to auxiliary windows
  58. styles.calltip = styles.text -- apply text colors to tooltips
  59. styles.indicator = {} -- to disable indicators (underlining)
  60. singleinstance=false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement