Add ACPI ASL and SMT2 support

closes #379
closes #378
This commit is contained in:
Adam Stankiewicz
2019-03-10 21:22:06 +01:00
parent 5005f1e27a
commit 9d9ed14485
7 changed files with 374 additions and 1 deletions

View File

@@ -88,6 +88,14 @@ augroup END
if (!exists('g:graphql_javascript_tags'))
let g:graphql_javascript_tags = ['gql', 'graphql', 'Relay.QL']
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'acpiasl') == -1
augroup filetypedetect
" acpiasl, from asl.vim in martinlroth/vim-acpi-asl
au BufRead,BufNewFile *.asl set filetype=asl
au BufRead,BufNewFile *.dsl set filetype=asl
augroup end
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ansible') == -1
augroup filetypedetect
" ansible, from ansible.vim in pearofducks/ansible-vim
@@ -1236,6 +1244,13 @@ autocmd BufNewFile,BufRead *.slime set filetype=slime
augroup end
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'smt2') == -1
augroup filetypedetect
" smt2, from smt2.vim in bohlender/vim-smt2
autocmd BufRead,BufNewFile *.smt,*.smt2 set filetype=smt2
augroup end
endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'solidity') == -1
augroup filetypedetect
" solidity, from solidity.vim in tomlion/vim-solidity