1
0

fix: update folding

This commit is contained in:
Rokas Puzonas 2021-10-30 17:47:00 +03:00
parent e95d3d64a8
commit 1ba10941b1

View File

@ -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)