diff --git a/home/.config/nvim/init.vim b/home/.config/nvim/init.vim index 902510c..f7768c6 100644 --- a/home/.config/nvim/init.vim +++ b/home/.config/nvim/init.vim @@ -17,7 +17,7 @@ set cc=100 " set an 100 column border for good coding style set mouse=a " enable mouse click set cursorline " highlight current cursorline set ttyfast " Speed up scrolling in Vim -set fdm=syntax " foldingmethod syntax +set fdm=indent " foldingmethod syntax set foldlevel=10 " only fold when a certain complexity is reached by default. This applies only at startup. "set spell " enable spell check (may need to download language package) set timeout timeoutlen=400 diff --git a/home/.config/nvim/noplug.vim b/home/.config/nvim/noplug.vim index 35cbcb2..a7beebc 100644 --- a/home/.config/nvim/noplug.vim +++ b/home/.config/nvim/noplug.vim @@ -17,7 +17,7 @@ set cc=100 " set an 100 column border for good coding style set mouse=a " enable mouse click set cursorline " highlight current cursorline set ttyfast " Speed up scrolling in Vim -set fdm=syntax " foldingmethod syntax +set fdm=indent " foldingmethod syntax set foldlevel=10 " only fold when a certain complexity is reached by default. This applies only at startup. "set spell " enable spell check (may need to download language package) set timeout timeoutlen=400 diff --git a/home/.vimrc b/home/.vimrc index f50d72f..397d591 100644 --- a/home/.vimrc +++ b/home/.vimrc @@ -17,7 +17,7 @@ set cc=100 " set an 100 column border for good coding style set mouse=a " enable mouse click set cursorline " highlight current cursorline set ttyfast " Speed up scrolling in Vim -set fdm=syntax " foldingmethod syntax +set fdm=indent " foldingmethod syntax set foldlevel=10 " only fold when a certain complexity is reached by default. This applies only at startup. "set spell " enable spell check (may need to download language package) set timeout timeoutlen=400