nix/prog/nvim: add foldopen and foldclose
This commit is contained in:
parent
5fd8136cd1
commit
4f3d518add
1 changed files with 3 additions and 0 deletions
|
@ -79,6 +79,9 @@ aug spell_check
|
||||||
aug END
|
aug END
|
||||||
|
|
||||||
" Set up folding
|
" Set up folding
|
||||||
|
set foldopen=all
|
||||||
|
set foldclose=all
|
||||||
|
|
||||||
aug folding
|
aug folding
|
||||||
au!
|
au!
|
||||||
au BufNewFile,BufRead *.js,*.jsx syntax on | setlocal foldmethod=syntax
|
au BufNewFile,BufRead *.js,*.jsx syntax on | setlocal foldmethod=syntax
|
||||||
|
|
Loading…
Reference in a new issue