aboutsummaryrefslogtreecommitdiff
path: root/themes/scite
diff options
context:
space:
mode:
Diffstat (limited to 'themes/scite')
-rw-r--r--themes/scite/buffer.lua6
-rw-r--r--themes/scite/view.lua4
2 files changed, 5 insertions, 5 deletions
diff --git a/themes/scite/buffer.lua b/themes/scite/buffer.lua
index a93116db..d22dd934 100644
--- a/themes/scite/buffer.lua
+++ b/themes/scite/buffer.lua
@@ -3,11 +3,11 @@
local buffer = buffer
--- folding
+-- Folding.
buffer.property['fold'] = '1'
buffer.property['fold.by.indentation'] = '1'
--- tabs and indentation
+-- Tabs and indentation.
buffer.tab_width = 2
buffer.use_tabs = false
buffer.indent = 2
@@ -15,6 +15,6 @@ buffer.tab_indents = true
buffer.back_space_un_indents = true
buffer.indentation_guides = 1
--- various
+-- Various.
buffer.auto_c_choose_single = true
buffer.additional_selection_typing = true
diff --git a/themes/scite/view.lua b/themes/scite/view.lua
index d612377d..71b4be2f 100644
--- a/themes/scite/view.lua
+++ b/themes/scite/view.lua
@@ -8,13 +8,13 @@ buffer.margin_width_n[0] = 4 * buffer:text_width(c.STYLE_LINENUMBER, "9")
buffer.caret_period = 500
--- fold margin
+-- Fold margin.
buffer.margin_type_n[2] = c.SC_MARGIN_SYMBOL
buffer.margin_width_n[2] = 16
buffer.margin_mask_n[2] = c.SC_MASK_FOLDERS
buffer.margin_sensitive_n[2] = true
--- fold margin markers
+-- Fold margin markers.
buffer:marker_define(c.SC_MARKNUM_FOLDEROPEN, c.SC_MARK_MINUS)
buffer:marker_set_fore(c.SC_MARKNUM_FOLDEROPEN, 16777215)
buffer:marker_set_back(c.SC_MARKNUM_FOLDEROPEN, 0)