From fbbe642326d28705aaec9618e6e9be1e0af9dd94 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Thu, 16 Feb 2023 16:10:07 +0100 Subject: [PATCH] vim folding method set to indent --- home/.config/nvim/init.vim | 2 +- home/.config/nvim/noplug.vim | 2 +- home/.vimrc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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