dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit b7f587e8af0c393aad7113dacc1c0fd25e8b872e
parent 888d3dcb5341c5281adb8b53d701ecdf795d64d5
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Thu, 10 Sep 2020 14:50:42 +0200

vim: enable syntax folding for sh

Former-commit-id: 86adc9cb85b86187edfea123dd2c29b4b97656f8
Diffstat:
Mvim/after/ftplugin/sh.vim | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/vim/after/ftplugin/sh.vim b/vim/after/ftplugin/sh.vim @@ -1,3 +1,5 @@ compiler sh +let g:sh_fold_enabled= 7 +setlocal foldmethod=syntax let b:undo_ftplugin = (exists('b:undo_ftplugin') ? b:undo_ftplugin.'|' : '') -let b:undo_ftplugin .= 'setlocal makeprg<' +let b:undo_ftplugin .= 'setlocal makeprg< foldmethod<'