From 6324ff1435caf907a65de22bcff55b41c53da1c3 Mon Sep 17 00:00:00 2001 From: Holger Rapp Date: Sun, 27 Mar 2011 08:09:12 +0200 Subject: [PATCH] Added a ftplugin file for .snippets file and set some sane defaults for folding --- ftplugin/snippets.vim | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 ftplugin/snippets.vim diff --git a/ftplugin/snippets.vim b/ftplugin/snippets.vim new file mode 100644 index 0000000..c38464d --- /dev/null +++ b/ftplugin/snippets.vim @@ -0,0 +1,5 @@ +" Set some sane defaults for snippet files + +" Fold by syntax, but open all folds by default +setlocal foldmethod=syntax +setlocal foldlevel=99