summaryrefslogtreecommitdiffstats
path: root/syntax/haskell.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/haskell.vim')
-rw-r--r--syntax/haskell.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/syntax/haskell.vim b/syntax/haskell.vim
index 8c890ee5..b8d91371 100644
--- a/syntax/haskell.vim
+++ b/syntax/haskell.vim
@@ -1,3 +1,5 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haskell') == -1
+
" Vim syntax file
" Language: Haskell
" Author: Tristan Ravitch
@@ -158,3 +160,5 @@ if version >= 508 || !exists('did_hs_syntax_inits')
endif
let b:current_syntax = "haskell"
+
+endif