.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-snippets / ftplugin / snippets.vim
1 " Set some sane defaults for snippet files
2
3 if exists('b:did_ftplugin')
4     finish
5 endif
6 let b:did_ftplugin = 1
7
8 " Fold by syntax, but open all folds by default
9 setlocal foldmethod=syntax
10 setlocal foldlevel=99
11
12 setlocal commentstring=#%s
13
14 setlocal noexpandtab
15 setlocal autoindent nosmartindent nocindent
16
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
23 endif