diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2015-12-06 11:53:26 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2015-12-06 11:53:26 +0100 |
commit | 08ea94e01188531e819e5d6bea5c84a773b4eb98 (patch) | |
tree | 595c73c1476e2fdc8458529907efea083a405f68 /ftdetect/polyglot.vim | |
parent | ba7a783c7f3d3c923ef151e4d3e99e087831ef69 (diff) | |
download | vim-polyglot-08ea94e01188531e819e5d6bea5c84a773b4eb98.tar.gz vim-polyglot-08ea94e01188531e819e5d6bea5c84a773b4eb98.zip |
Add elm support, closes #81
Diffstat (limited to 'ftdetect/polyglot.vim')
-rw-r--r-- | ftdetect/polyglot.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 2ef84c93..9bd0f1c8 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -58,6 +58,10 @@ function! s:DetectElixir() endfunction autocmd BufNewFile,BufRead * call s:DetectElixir() endif +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elm') == -1 + +au BufNewFile,BufRead *.elm set filetype=elm +endif if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'emberscript') == -1 autocmd BufNewFile,BufRead *.em set filetype=ember-script |