From d4da7817bacda51263f16e7dd82da15c7046e905 Mon Sep 17 00:00:00 2001 From: Dan Reif Date: Tue, 5 Jun 2018 14:22:06 -0700 Subject: Add FERM support (#311) --- ftdetect/polyglot.vim | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ftdetect') 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 -- cgit v1.2.3