diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2014-02-04 19:15:58 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2014-02-04 19:15:58 +0100 |
commit | d51b8fd17e3804f8d5ede68674b558174519abb2 (patch) | |
tree | d575d28b15cbc5a8a6cc7e106ef4fdbe47d9df30 /ftplugin/handlebars.vim | |
parent | fa573209195e94d621f50bfe37cf9007f6e8d720 (diff) | |
download | vim-polyglot-1.5.2.tar.gz vim-polyglot-1.5.2.zip |
Change handlebars syntax vendor, fixes #13v1.5.2
Diffstat (limited to 'ftplugin/handlebars.vim')
-rw-r--r-- | ftplugin/handlebars.vim | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/ftplugin/handlebars.vim b/ftplugin/handlebars.vim deleted file mode 100644 index c4a5dace..00000000 --- a/ftplugin/handlebars.vim +++ /dev/null @@ -1,22 +0,0 @@ -" Taken from https://github.com/juvenn/mustache.vim/blob/master/ftplugin/mustache.vim - -let s:cpo_save = &cpo -set cpo&vim - -" Matchit support for Handlebars -" extending HTML matchit groups -if exists("loaded_matchit") && exists("b:match_words") - let b:match_words = b:match_words - \ . ',{:},[:],(:),' - \ . '\%({{\)\@<=#\s*\%(if\|unless\)\s*.\{-}}}' - \ . ':' - \ . '\%({{\)\@<=\s*else\s*}}' - \ . ':' - \ . '\%({{\)\@<=/\s*\%(if\|unless\)\s*}},' - \ . '\%({{\)\@<=[#^]\s*\([-0-9a-zA-Z_?!/.]\+\).\{-}}}' - \ . ':' - \ . '\%({{\)\@<=/\s*\1\s*}}' -endif - -let &cpo = s:cpo_save -unlet s:cpo_save |