diff --git a/home/neovim.nix b/home/neovim.nix index e7323b1..abba92d 100644 --- a/home/neovim.nix +++ b/home/neovim.nix @@ -113,7 +113,20 @@ # Language support vim-nix - haskell-vim + { + plugin = haskell-vim; + type = "lua"; + config = '' + vim.cmd([[ + 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` + let g:haskell_enable_pattern_synonyms = 1 " to enable highlighting of `pattern` + let g:haskell_enable_typeroles = 1 " to enable highlighting of type roles + let g:haskell_enable_static_pointers = 1 " to enable highlighting of `static` + ]]) + ''; + } vim-markdown ];