mirror of
https://github.com/srid/nixos-config.git
synced 2026-05-11 17:36:07 +08:00
nvim: enable recommended haskell-vim settings
This commit is contained in:
parent
4d3839dce9
commit
92258aadc3
1 changed files with 14 additions and 1 deletions
|
|
@ -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
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue