diff options
author | Dan Reif <dan.reif@collectivehealth.com> | 2018-06-05 14:22:06 -0700 |
---|---|---|
committer | Dan Reif <dan.reif@collectivehealth.com> | 2018-06-05 14:22:06 -0700 |
commit | d4da7817bacda51263f16e7dd82da15c7046e905 (patch) | |
tree | e5e444d3798acd3b8ee4c4e36984721c325b64e0 /ftdetect/polyglot.vim | |
parent | f05b47874b09c2597473f3469fac2d7fd02a46f5 (diff) | |
download | vim-polyglot-d4da7817bacda51263f16e7dd82da15c7046e905.tar.gz vim-polyglot-d4da7817bacda51263f16e7dd82da15c7046e905.zip |
Add FERM support (#311)
Diffstat (limited to 'ftdetect/polyglot.vim')
-rw-r--r-- | ftdetect/polyglot.vim | 8 |
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 |