vim-indent-folding

indentation based folding for vim
git clone https://git.ce9e.org/vim-indent-folding.git

commit
ac264a897f70c75c23ba8ae5afcc836a5799239f
parent
eb7228bafe14e46ac9c730eed41da2c6d73ba7bd
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2019-02-22 12:41
switch back to using shiftwidth

as used in http://learnvimscriptthehardway.stevelosh.com/chapters/49.html

Diffstat

M after/plugin/folding.vim 2 +-

1 files changed, 1 insertions, 1 deletions


diff --git a/after/plugin/folding.vim b/after/plugin/folding.vim

@@ -1,5 +1,5 @@
    1     1 function! IndentLevel(lnum)
    2    -1 	return indent(a:lnum) / &tabstop
   -1     2 	return indent(a:lnum) / &shiftwidth
    3     3 endfunction
    4     4 
    5     5 function! NextNonBlankLine(lnum)