summaryrefslogtreecommitdiffstats
path: root/syntax/blade.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2016-07-05 09:53:49 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2016-07-05 09:53:49 +0200
commitbf188c4a51a6d151bb2694d73048727f4359c634 (patch)
tree3059e2f946ae6293e1809d67393fddced1197431 /syntax/blade.vim
parenta5857b81c215139b3c0def78e5bd2f1da8a17af6 (diff)
downloadvim-polyglot-2.11.1.tar.gz
vim-polyglot-2.11.1.zip
Updatev2.11.1
Diffstat (limited to 'syntax/blade.vim')
-rw-r--r--syntax/blade.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/syntax/blade.vim b/syntax/blade.vim
index 5b885db6..83b36907 100644
--- a/syntax/blade.vim
+++ b/syntax/blade.vim
@@ -21,6 +21,12 @@ unlet! b:current_syntax
syn case match
syn clear htmlError
+if has('patch-7.4.1142')
+ syn iskeyword @,48-57,_,192-255,@-@
+else
+ setlocal iskeyword+=@-@
+endif
+
syn region bladeEcho matchgroup=bladeDelimiter start="@\@<!{{" end="}}" contains=@bladePhp,bladePhpParenBlock containedin=ALLBUT,@bladeExempt keepend
syn region bladeEcho matchgroup=bladeDelimiter start="{!!" end="!!}" contains=@bladePhp,bladePhpParenBlock containedin=ALLBUT,@bladeExempt keepend
syn region bladeComment matchgroup=bladeDelimiter start="{{--" end="--}}" contains=bladeTodo containedin=ALLBUT,@bladeExempt keepend