aboutsummaryrefslogtreecommitdiff
path: root/themes/scite/buffer.lua
blob: d22dd9341e5072c2e969e1247d9f7acaf9433a9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
-- Copyright 2007-2010 Mitchell mitchell<att>caladbolg.net. See LICENSE.
-- SciTE editor theme for Textadept.

local buffer = 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.auto_c_choose_single = true
buffer.additional_selection_typing = true