summaryrefslogtreecommitdiffstats
path: root/syntax/jst.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2015-02-11 11:27:11 -0800
committerAdam Stankiewicz <sheerun@sher.pl>2015-02-11 11:27:11 -0800
commit6cd2d5417d728ea96c5c52b34629c944a89eec60 (patch)
treef6d49573e7a22b1ede56055d3952707eab085c18 /syntax/jst.vim
parentb7a30b1f1a963902d9743ae229a1f9d18b887e17 (diff)
downloadvim-polyglot-1.11.4.tar.gz
vim-polyglot-1.11.4.zip
Updatev1.11.4
Diffstat (limited to 'syntax/jst.vim')
-rw-r--r--syntax/jst.vim12
1 files changed, 12 insertions, 0 deletions
diff --git a/syntax/jst.vim b/syntax/jst.vim
index 25abe238..ea95878b 100644
--- a/syntax/jst.vim
+++ b/syntax/jst.vim
@@ -24,6 +24,8 @@ elseif !exists("b:jst_subtype") && main_syntax == 'jst'
let b:jst_subtype = 'haml'
elseif b:jst_subtype == 'ejs'
let b:jst_subtype = 'html'
+ elseif b:jst_subtype == 'ect'
+ let b:jst_subtype = 'html'
elseif b:jst_subtype == 'rb'
let b:jst_subtype = 'ruby'
elseif b:jst_subtype == 'yml'
@@ -70,4 +72,14 @@ if main_syntax == 'jst'
unlet main_syntax
endif
+set commentstring=<!--%s-->
+
+if exists("loaded_matchit")
+ let b:match_ignorecase = 1
+ let b:match_words = '<:>,' .
+ \ '<\@<=[ou]l\>[^>]*\%(>\|$\):<\@<=li\>:<\@<=/[ou]l>,' .
+ \ '<\@<=dl\>[^>]*\%(>\|$\):<\@<=d[td]\>:<\@<=/dl>,' .
+ \ '<\@<=\([^/][^ \t>]*\)[^>]*\%(>\|$\):<\@<=/\1>'
+endif
+
" vim: nowrap sw=2 sts=2 ts=8: