summaryrefslogtreecommitdiffstats
path: root/ftdetect/polyglot.vim
diff options
context:
space:
mode:
authorDan Reif <dan.reif@collectivehealth.com>2018-06-05 14:22:06 -0700
committerDan Reif <dan.reif@collectivehealth.com>2018-06-05 14:22:06 -0700
commitd4da7817bacda51263f16e7dd82da15c7046e905 (patch)
treee5e444d3798acd3b8ee4c4e36984721c325b64e0 /ftdetect/polyglot.vim
parentf05b47874b09c2597473f3469fac2d7fd02a46f5 (diff)
downloadvim-polyglot-d4da7817bacda51263f16e7dd82da15c7046e905.tar.gz
vim-polyglot-d4da7817bacda51263f16e7dd82da15c7046e905.zip
Add FERM support (#311)
Diffstat (limited to 'ftdetect/polyglot.vim')
-rw-r--r--ftdetect/polyglot.vim8
1 files changed, 8 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim
index ccbd2fa4..0a4d36d3 100644
--- a/ftdetect/polyglot.vim
+++ b/ftdetect/polyglot.vim
@@ -297,6 +297,14 @@ au BufNewFile,BufRead *.erl,*.hrl,rebar.config,*.app,*.app.src,*.yaws,*.xrl,*.es
augroup end
endif
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ferm') == -1
+ augroup filetypedetect
+ " ferm, from ferm.vim in vim-scripts/ferm.vim
+autocmd BufNewFile,BufRead ferm.conf setf ferm
+autocmd BufNewFile,BufRead *.ferm setf ferm
+ augroup end
+endif
+
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'fsharp') == -1
augroup filetypedetect
" fsharp, from fsharp.vim in fsharp/vim-fsharp:_BASIC