Skip to content

Commit aa0efe1

Browse files
committed
Add matchit rules for style and schema tags
1 parent 6a4ee56 commit aa0efe1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ftplugin/liquid.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ if has('gui_win32')
5353
endif
5454

5555
if exists('loaded_matchit')
56-
let b:match_words .= '\<\%(if\w*\|unless\|case\)\>:\<\%(elsif\|else\|when\)\>:\<end\%(if\w*\|unless\|case\)\>,\<\%(for\|tablerow\)\>:\%({%\s*\)\@<=empty\>:\<end\%(for\|tablerow\)\>,\<\(capture\|comment\|highlight\)\>:\<end\1\>'
56+
let b:match_words .= '\<\%(if\w*\|unless\|case\)\>:\<\%(elsif\|else\|when\)\>:\<end\%(if\w*\|unless\|case\)\>,\<\%(for\|tablerow\)\>:\%({%\s*\)\@<=empty\>:\<end\%(for\|tablerow\)\>,\<\(capture\|comment\|highlight\|schema\|style\)\>:\<end\1\>'
5757
endif
5858

5959
setlocal commentstring={%\ comment\ %}%s{%\ endcomment\ %}

0 commit comments

Comments
 (0)