nix/prog/nvim: add foldopen and foldclose

This commit is contained in:
Dmitriy Pleshevskiy 2022-08-03 12:41:24 +03:00
parent 5fd8136cd1
commit 4f3d518add
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215

View file

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