1 " Set some sane defaults for snippet files
3 if exists('b:did_ftplugin')
8 " Fold by syntax, but open all folds by default
9 setlocal foldmethod=syntax
12 setlocal commentstring=#%s
15 setlocal autoindent nosmartindent nocindent
17 " Define match words for use with matchit plugin
18 " http://www.vim.org/scripts/script.php?script_id=39
19 if exists("loaded_matchit") && !exists("b:match_words")
20 let b:match_ignorecase = 0
21 let b:match_words = '^snippet\>:^endsnippet\>,^global\>:^endglobal\>,\${:}'
22 let s:set_match_words = 1