From 7aae831309b9ce8c8cf07d21673aa4e36d774edb Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sat, 8 Jun 2019 12:46:43 +0200 Subject: Add tptp syntax --- ftdetect/polyglot.vim | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'ftdetect') diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index d6a7fea1..a3130217 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -1343,6 +1343,19 @@ autocmd BufNewFile,BufRead *.toml,Gopkg.lock,Cargo.lock,*/.cargo/config,*/.cargo augroup end endif +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'tptp') == -1 + augroup filetypedetect + " tptp, from tptp.vim in c-cube/vim-tptp + +au BufRead,BufNewFile *.p set filetype=tptp +au BufRead,BufNewFile *.p set syntax=tptp +au BufRead,BufNewFile *.tptp set filetype=tptp +au BufRead,BufNewFile *.tptp set syntax=tptp +au BufRead,BufNewFile *.ax set filetype=tptp +au BufRead,BufNewFile *.ax set syntax=tptp + augroup end +endif + if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'twig') == -1 augroup filetypedetect " twig, from twig.vim in lumiliet/vim-twig -- cgit v1.2.3