forked from sneusse/ta-stuff
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.lua
More file actions
27 lines (22 loc) · 672 Bytes
/
Copy pathinit.lua
File metadata and controls
27 lines (22 loc) · 672 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
-- Load the diff plugin
_M.file_diff = require('file_diff')
-- Load multiedit
require('Multiedit')
-- Set Text Adept Theme
if not CURSES then
buffer:set_theme('base16-solarized-dark', {
font = "DejaVu Sans Mono",
fontsize = 14
})
end
-- Text adept editor settings
textadept.editing.auto_indent = true
textadept.editing.strip_trailing_spaces = true
-- Disable the horizontal and vertical scrollbars
buffer.h_scroll_bar = false
buffer.v_scroll_bar = false
-- Use tabs insted spaces for identation
buffer.use_tabs = true
buffer.tab_width = 4
-- Set the multipaste option to EACH, but, for now, this dont works as spected
buffer.multi_paste = buffer.MULTIPASTE_EACH