diff options
author | 2008-12-22 13:08:27 -0500 | |
---|---|---|
committer | 2008-12-22 13:08:27 -0500 | |
commit | 3343fa2a376e0737b926b570f8cd743b2a75e693 (patch) | |
tree | 2ec41f1f5ea2cbed2bb737ee421e619926b312c3 /themes/dark/buffer.lua | |
parent | 38e32a9a93904a768d4d56516ff547963b570cfc (diff) | |
download | textadept-3343fa2a376e0737b926b570f8cd743b2a75e693.tar.gz textadept-3343fa2a376e0737b926b570f8cd743b2a75e693.zip |
Light theme is the default; moved old dark default into its own theme.
Diffstat (limited to 'themes/dark/buffer.lua')
-rw-r--r-- | themes/dark/buffer.lua | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/themes/dark/buffer.lua b/themes/dark/buffer.lua new file mode 100644 index 00000000..3253969f --- /dev/null +++ b/themes/dark/buffer.lua @@ -0,0 +1,20 @@ +-- Copyright 2007-2008 Mitchell mitchell<att>caladbolg.net. See LICENSE. +-- Dark 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 |