From 1f1e821192d25d630587aa9d53bd8d428fb09c4d Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sun, 18 Oct 2015 16:08:51 +0200 Subject: Change haskell provider to neovimhaskell/haskell-vim, closes #75 --- ftdetect/polyglot.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ftdetect') diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index f61491b6..dad893bb 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -114,6 +114,10 @@ autocmd BufNewFile,BufRead *.haml,*.hamlbars,*.hamlc setf haml autocmd BufNewFile,BufRead *.sass setf sass autocmd BufNewFile,BufRead *.scss setf scss endif +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haskell') == -1 + +au BufRead,BufNewFile *.hsc set filetype=haskell +endif if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haxe') == -1 autocmd BufNewFile,BufRead *.hx setf haxe -- cgit v1.2.3