fix: update folding
This commit is contained in:
parent
e95d3d64a8
commit
1ba10941b1
@ -84,9 +84,12 @@ opt('errorbells', false)
|
|||||||
-- Always use system clipboard
|
-- Always use system clipboard
|
||||||
opt('clipboard', 'unnamedplus')
|
opt('clipboard', 'unnamedplus')
|
||||||
|
|
||||||
|
-- Folding options
|
||||||
|
opt('foldmethod', 'indent')
|
||||||
|
opt('foldlevelstart', 99)
|
||||||
|
|
||||||
-- Identation/Tab settings
|
-- Identation/Tab settings
|
||||||
local tab_size = 2
|
local tab_size = 2
|
||||||
opt('foldmethod', 'indent')
|
|
||||||
opt('expandtab', false, buffer)
|
opt('expandtab', false, buffer)
|
||||||
opt('smartindent', true, buffer)
|
opt('smartindent', true, buffer)
|
||||||
opt('shiftwidth', tab_size, buffer)
|
opt('shiftwidth', tab_size, buffer)
|
||||||
|
Loading…
Reference in New Issue
Block a user