From 63922a1d1ea22c58be758d188068f33491411c0c Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Mon, 4 Mar 2019 10:14:37 +0100 Subject: Add idris support, closes #265 --- ftdetect/polyglot.vim | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'ftdetect') diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index b91c235f..3e6aa32a 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -479,6 +479,21 @@ aug end augroup end endif +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'idris') == -1 + augroup filetypedetect + " idris, from idris.vim in idris-hackers/idris-vim +au BufNewFile,BufRead *.idr setf idris +au BufNewFile,BufRead idris-response setf idris + augroup end +endif + +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'idris') == -1 + augroup filetypedetect + " idris, from lidris.vim in idris-hackers/idris-vim +au BufNewFile,BufRead *.lidr setf lidris + augroup end +endif + if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'jasmine') == -1 augroup filetypedetect " jasmine, from jasmine.vim in glanotte/vim-jasmine -- cgit v1.2.3