diff options
Diffstat (limited to 'themes/light/buffer.lua')
-rw-r--r-- | themes/light/buffer.lua | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/themes/light/buffer.lua b/themes/light/buffer.lua new file mode 100644 index 00000000..a4597ee2 --- /dev/null +++ b/themes/light/buffer.lua @@ -0,0 +1,20 @@ +-- Copyright 2007-2008 Mitchell mitchell<att>caladbolg.net. See LICENSE. +-- Light editor theme for Textadept. + +local textadept, buffer = textadept, buffer + +-- folding +buffer.property['fold'] = '1' +buffer.property['fold.by.indentation'] = '1' + +-- tabs and indentation +buffer.tab_width = 2 +buffer.use_tabs = false +buffer.indent = 2 +buffer.tab_indents = true +buffer.back_space_un_indents = true +buffer.indentation_guides = 1 + +-- various +buffer.eol_mode = textadept.constants.SC_EOL_LF +buffer.auto_c_choose_single = true |