summaryrefslogtreecommitdiffstats
path: root/ftplugin/mustache.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/mustache.vim')
-rw-r--r--ftplugin/mustache.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/ftplugin/mustache.vim b/ftplugin/mustache.vim
index d8a351b7..c0eb6221 100644
--- a/ftplugin/mustache.vim
+++ b/ftplugin/mustache.vim
@@ -25,6 +25,9 @@ if exists("loaded_matchit") && exists("b:match_words")
\ . '\%({{\)\@<=/\s*\1\s*}}'
endif
+" Set template for comment
+setlocal commentstring={{!--\ %s\ --}}
+
if exists("g:mustache_abbreviations")
inoremap <buffer> {{{ {{{}}}<left><left><left>
inoremap <buffer> {{ {{}}<left><left>