From 0801eac01aab5940fc1e4409ba749383cc353bc2 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Thu, 23 Mar 2017 11:28:19 +0100 Subject: Update --- ftplugin/blade.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ftplugin/blade.vim') diff --git a/ftplugin/blade.vim b/ftplugin/blade.vim index 68e80883..34879610 100644 --- a/ftplugin/blade.vim +++ b/ftplugin/blade.vim @@ -23,7 +23,8 @@ setlocal comments+=s:{{--,m:\ \ \ \ ,e:--}} if exists('loaded_matchit') && exists('b:match_words') " Append to html matchit words let b:match_words .= ',' . - \ '@\%(section\|if\|unless\|foreach\|forelse\|for\|while\|push\|can\|cannot\|hasSection\|php\|verbatim\)\>' . + \ '@\%(section\s*([^\,]*)\|if\|unless\|foreach\|forelse\|for\|while\|push\|can\|cannot\|hasSection\|' . + \ 'php\s*(\@!\|verbatim\|component\|slot\|prepend\)' . \ ':' . \ '@\%(else\|elseif\|empty\|break\|continue\|elsecan\|elsecannot\)\>' . \ ':' . -- cgit v1.2.3