summaryrefslogtreecommitdiffstats
path: root/ftplugin/blade.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin/blade.vim')
-rw-r--r--ftplugin/blade.vim3
1 files changed, 2 insertions, 1 deletions
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\)\>' .
\ ':' .