summaryrefslogtreecommitdiffstats
path: root/ftdetect
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2019-03-10 21:22:06 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2019-03-10 21:22:06 +0100
commit9d9ed144857b686059f3daea7b2b953e382147c1 (patch)
tree193884e95d1727172020968e0e5ece1593275762 /ftdetect
parent5005f1e27a9a600822a16363eff5ee76bc130331 (diff)
downloadvim-polyglot-9d9ed144857b686059f3daea7b2b953e382147c1.tar.gz
vim-polyglot-9d9ed144857b686059f3daea7b2b953e382147c1.zip
Add ACPI ASL and SMT2 support
closes #379 closes #378
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/polyglot.vim15
1 files changed, 15 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim
index 4d2396a3..f1fc4962 100644
--- a/ftdetect/polyglot.vim
+++ b/ftdetect/polyglot.vim
@@ -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