summaryrefslogtreecommitdiffstats
path: root/ftdetect
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2015-10-18 16:08:51 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2015-10-18 16:08:51 +0200
commit1f1e821192d25d630587aa9d53bd8d428fb09c4d (patch)
tree7b342264b1c5e2e8d2a644fbff86204061530fd4 /ftdetect
parentae882e85f81869dbf81b5c888c337aa4481fc8c3 (diff)
downloadvim-polyglot-2.2.2.tar.gz
vim-polyglot-2.2.2.zip
Change haskell provider to neovimhaskell/haskell-vim, closes #75v2.2.2
Diffstat (limited to 'ftdetect')
-rw-r--r--ftdetect/polyglot.vim4
1 files changed, 4 insertions, 0 deletions
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