summaryrefslogtreecommitdiffstats
path: root/ftplugin/mustache.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2019-09-04 15:44:43 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2019-09-04 15:44:43 +0200
commit664aa988f6d9cdb7b75218666fbe348c85ef8b29 (patch)
tree306173199576430e6133a1ed137bd80bbc2fb01b /ftplugin/mustache.vim
parent3ddca5da461ebfaa82104f82e3cbf19d1c326ade (diff)
downloadvim-polyglot-664aa988f6d9cdb7b75218666fbe348c85ef8b29.tar.gz
vim-polyglot-664aa988f6d9cdb7b75218666fbe348c85ef8b29.zip
Update
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>