From 76d23a21e6904b1c09ddad1cb3fa769bbfe17991 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Mon, 2 May 2016 10:44:59 +0200 Subject: Add cryptol syntax, closes #107 --- ftdetect/polyglot.vim | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ftdetect') diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index caa90091..1b7746d4 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -53,6 +53,13 @@ if has("autocmd") au BufNewFile,BufRead *.cql set filetype=cql endif endif +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cryptol') == -1 + +au! BufRead,BufNewFile *.cry set filetype=cryptol +au! BufRead,BufNewFile *.cyl set filetype=cryptol +au! BufRead,BufNewFile *.lcry set filetype=cryptol +au! BufRead,BufNewFile *.lcyl set filetype=cryptol +endif if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cucumber') == -1 autocmd BufNewFile,BufReadPost *.feature,*.story set filetype=cucumber -- cgit v1.2.3