From 162e83c6ad738c8a0205f9a9de5254bfb9cf4cfc Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Thu, 16 Apr 2015 00:57:59 +0100 Subject: [PATCH] vim: fold sh scripts --- vim/ftplugin/sh.vim | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 vim/ftplugin/sh.vim diff --git a/vim/ftplugin/sh.vim b/vim/ftplugin/sh.vim new file mode 100644 index 0000000..4926a2b --- /dev/null +++ b/vim/ftplugin/sh.vim @@ -0,0 +1,2 @@ +setlocal foldmethod=syntax +let g:sh_fold_enabled= 3 "enables function and heredoc folding -- 2.48.1