From 6cd2d5417d728ea96c5c52b34629c944a89eec60 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Wed, 11 Feb 2015 11:27:11 -0800 Subject: Update --- syntax/jst.vim | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'syntax/jst.vim') 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= + +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: -- cgit v1.2.3