From 30bef582ba844a682c1a4527f06971deb2ef969c Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Mon, 24 Aug 2020 09:31:34 +0200 Subject: Fix blade ftdetect --- ftdetect/polyglot.vim | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ftdetect') diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 46895352..4d145ba3 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -78,11 +78,6 @@ if index(g:polyglot_disabled, 'autohotkey') == -1 au BufNewFile,BufRead *.ahkl set ft=autohotkey endif -if index(g:polyglot_disabled, 'blade') == -1 - au BufNewFile,BufRead *.blade set ft=blade - au BufNewFile,BufRead *.blade.php set ft=blade -endif - if index(g:polyglot_disabled, 'c/c++') == -1 au BufNewFile,BufRead *.c set ft=c au BufNewFile,BufRead *.cats set ft=c @@ -737,6 +732,11 @@ if index(g:polyglot_disabled, 'php') == -1 au BufNewFile,BufRead Phakefile set ft=php endif +if index(g:polyglot_disabled, 'blade') == -1 + au BufNewFile,BufRead *.blade set ft=blade + au BufNewFile,BufRead *.blade.php set ft=blade +endif + if index(g:polyglot_disabled, 'plantuml') == -1 au BufNewFile,BufRead *.iuml set ft=plantuml au BufNewFile,BufRead *.plantuml set ft=plantuml -- cgit v1.2.3