diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2016-05-02 10:44:59 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2016-05-02 10:44:59 +0200 |
commit | 76d23a21e6904b1c09ddad1cb3fa769bbfe17991 (patch) | |
tree | 59a3472dd1f6ca1782261d66b971485f4b2995a4 /ftdetect | |
parent | 5dd1a7e83966c92d220073185f1738dfe441f59e (diff) | |
download | vim-polyglot-76d23a21e6904b1c09ddad1cb3fa769bbfe17991.tar.gz vim-polyglot-76d23a21e6904b1c09ddad1cb3fa769bbfe17991.zip |
Add cryptol syntax, closes #107
Diffstat (limited to 'ftdetect')
-rw-r--r-- | ftdetect/polyglot.vim | 7 |
1 files changed, 7 insertions, 0 deletions
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 |