Fix blade ftdetect

This commit is contained in:
Adam Stankiewicz
2020-08-24 09:31:34 +02:00
parent 74d940cda3
commit 30bef582ba
2 changed files with 12 additions and 11 deletions

View File

@@ -78,11 +78,6 @@ if index(g:polyglot_disabled, 'autohotkey') == -1
au BufNewFile,BufRead *.ahkl set ft=autohotkey au BufNewFile,BufRead *.ahkl set ft=autohotkey
endif 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 if index(g:polyglot_disabled, 'c/c++') == -1
au BufNewFile,BufRead *.c set ft=c au BufNewFile,BufRead *.c set ft=c
au BufNewFile,BufRead *.cats 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 au BufNewFile,BufRead Phakefile set ft=php
endif 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 if index(g:polyglot_disabled, 'plantuml') == -1
au BufNewFile,BufRead *.iuml set ft=plantuml au BufNewFile,BufRead *.iuml set ft=plantuml
au BufNewFile,BufRead *.plantuml set ft=plantuml au BufNewFile,BufRead *.plantuml set ft=plantuml

View File

@@ -40,12 +40,6 @@ filetypes:
- name: autohotkey - name: autohotkey
linguist: AutoHotkey linguist: AutoHotkey
--- ---
name: blade
remote: jwalton512/vim-blade
filetypes:
- name: blade
linguist: Blade
---
name: c/c++ name: c/c++
remote: vim-jp/vim-cpp remote: vim-jp/vim-cpp
filetypes: filetypes:
@@ -750,6 +744,13 @@ remote: StanAngeloff/php.vim
filetypes: filetypes:
- name: php - name: php
linguist: 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 name: plantuml
remote: aklt/plantuml-syntax remote: aklt/plantuml-syntax