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 | |
parent | 74d940cda30f36cc6770c5481dbcff89e6e1d688 (diff) | |
download | vim-polyglot-4.5.1.tar.gz vim-polyglot-4.5.1.zip |
Fix blade ftdetectv4.5.1
-rw-r--r-- | ftdetect/polyglot.vim | 10 | ||||
-rw-r--r-- | packages.yaml | 13 |
2 files changed, 12 insertions, 11 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 diff --git a/packages.yaml b/packages.yaml index a3fb371f..69025591 100644 --- a/packages.yaml +++ b/packages.yaml @@ -40,12 +40,6 @@ filetypes: - name: autohotkey linguist: AutoHotkey --- -name: blade -remote: jwalton512/vim-blade -filetypes: -- name: blade - linguist: Blade ---- name: c/c++ remote: vim-jp/vim-cpp filetypes: @@ -750,6 +744,13 @@ remote: StanAngeloff/php.vim filetypes: - name: php linguist: PHP +# Needs to be after .php (can be .blade.php) +--- +name: blade +remote: jwalton512/vim-blade +filetypes: +- name: blade + linguist: Blade --- name: plantuml remote: aklt/plantuml-syntax |