if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'blade') == -1 " Vim filetype plugin " Language: Blade (Laravel) " Maintainer: Jason Walton if exists('b:did_ftplugin') finish endif runtime! ftplugin/html.vim 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