Set comment string to #%s
This allows the TPope's vim-commentary plugin to work with .snippet files; e.g. typing "\\\" will comment out the current line with "# ".
This commit is contained in:
parent
d4bda4f95f
commit
c8d1971c4b
@ -4,6 +4,8 @@
|
||||
setlocal foldmethod=syntax
|
||||
setlocal foldlevel=99
|
||||
|
||||
setlocal commentstring=#%s
|
||||
|
||||
" 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")
|
||||
|
Loading…
Reference in New Issue
Block a user