From 55d3655ffe76eb5be250615505aeecf964555fbe Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Thu, 30 Apr 2020 10:29:24 +0530 Subject: [PATCH] nvim: ftplugin: haskell: Enable classic highlighting for Haskell Gives color separation in molokai between "instance" and "Typeclass Type". Signed-off-by: Sanchayan Maity --- nvim/.config/nvim/after/ftplugin/haskell.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvim/.config/nvim/after/ftplugin/haskell.vim b/nvim/.config/nvim/after/ftplugin/haskell.vim index ca73c22..d444b46 100644 --- a/nvim/.config/nvim/after/ftplugin/haskell.vim +++ b/nvim/.config/nvim/after/ftplugin/haskell.vim @@ -26,6 +26,7 @@ nmap [[ :call JumpHaskellFunction(1) imap ;; :call MakeArrow(1) imap ;: :call MakeArrow(0) +let g:haskell_classic_highlighting = 1 let g:haskell_enable_quantification = 1 " to enable highlighting of `forall` let g:haskell_enable_recursivedo = 1 " to enable highlighting of `mdo` and `rec` let g:haskell_enable_arrowsyntax = 1 " to enable highlighting of `proc` @@ -34,7 +35,6 @@ let g:haskell_enable_typeroles = 1 " to enable highlighting of type roles let g:haskell_enable_static_pointers = 1 " to enable highlighting of `static` let g:haskell_backpack = 1 " to enable highlighting of backpack keywords -let g:haskell_classic_highlighting = 0 let g:haskell_indent_if = 3 let g:haskell_indent_case = 2 let g:haskell_indent_let = 4