You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
463 B
VimL
17 lines
463 B
VimL
" Set some sane defaults for snippet files
|
|
|
|
" Fold by syntax, but open all folds by default
|
|
setlocal foldmethod=syntax
|
|
setlocal foldlevel=99
|
|
|
|
setlocal commentstring=#%s
|
|
|
|
setlocal noexpandtab
|
|
|
|
" Define match words for use with matchit plugin
|
|
" http://www.vim.org/scripts/script.php?script_id=39
|
|
if exists("loaded_matchit") && !exists("b:match_words")
|
|
let b:match_ignorecase = 0
|
|
let b:match_words = '^snippet\>:^endsnippet\>,^global\>:^endglobal\>,\${:}'
|
|
endif
|