]> git.rmz.io Git - dotfiles.git/commitdiff
vim: add haskell highlighting
authorSamir Benmendil <me@rmz.io>
Sat, 8 Aug 2020 12:16:33 +0000 (13:16 +0100)
committerSamir Benmendil <me@rmz.io>
Sat, 8 Aug 2020 12:16:33 +0000 (13:16 +0100)
vim/vimrc

index 889a26e3d3561b4d69b934cb0d606cf9c059b27e..310e6038b36a3b92ad036629ed2ca68074b402cb 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -88,6 +88,16 @@ Plug 'vim-scripts/syntaxrange'
 
 let g:org_agenda_files = ['~/org/*.org']
 
 
 let g:org_agenda_files = ['~/org/*.org']
 
+Plug 'neovimhaskell/haskell-vim'  " {{{2
+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`
+let g:haskell_backpack = 1                " to enable highlighting of backpack keywords
+" }}}
+
 call plug#end()
 
 filetype plugin indent on
 call plug#end()
 
 filetype plugin indent on