diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2020-08-24 09:31:34 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2020-08-24 09:31:34 +0200 |
commit | 30bef582ba844a682c1a4527f06971deb2ef969c (patch) | |
tree | af342da4ae40deaa9d5a140b1cf9d1914c373f94 /ftdetect | |
parent | 74d940cda30f36cc6770c5481dbcff89e6e1d688 (diff) | |
download | vim-polyglot-4.5.1.tar.gz vim-polyglot-4.5.1.zip |
Fix blade ftdetectv4.5.1
Diffstat (limited to 'ftdetect')
-rw-r--r-- | ftdetect/polyglot.vim | 10 |
1 files changed, 5 insertions, 5 deletions
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 |