From 11f34624aa32ac72dc65e46ea9badb4b16a0edd1 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Tue, 19 Jul 2016 10:09:54 +0200 Subject: Update --- ftplugin/blade.vim | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'ftplugin/blade.vim') diff --git a/ftplugin/blade.vim b/ftplugin/blade.vim index 3d3e7c50..68e80883 100644 --- a/ftplugin/blade.vim +++ b/ftplugin/blade.vim @@ -14,5 +14,23 @@ let b:did_ftplugin = 1 setlocal suffixesadd=.blade.php,.php setlocal includeexpr=substitute(v:fname,'\\.','/','g') setlocal path+=resources/views; +setlocal include=\\w\\@' . + \ ':' . + \ '@\%(else\|elseif\|empty\|break\|continue\|elsecan\|elsecannot\)\>' . + \ ':' . + \ '@\%(end\w\+\|stop\|show\|append\|overwrite\)' . + \ ',{:},\[:\],(:)' + let b:match_skip = 'synIDattr(synID(line("."), col("."), 0), "name") !=# "bladeKeyword"' + let b:match_ignorecase = 0 +endif endif -- cgit v1.2.3