neovim: added haskell to treefmt

This commit is contained in:
Serĉanto de Scio 2022-09-20 11:21:10 +10:00
parent 6428e135eb
commit 366c2092a4
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA

View file

@ -14,7 +14,7 @@
formatter-nvim # A format runner for neovim
fugitive # Vim Git wrapper
fzf-vim # Full path fuzzy file, buffer, mru, tag, finder for Vim
haskell-vim # Syntax Highlighting and Indentation for Haskell
#haskell-vim # Syntax Highlighting and Indentation for Haskell
indentLine # Display thin vertical lines at each indentation level
lualine-nvim
YouCompleteMe # A code-completion engine for Vim
@ -193,6 +193,13 @@
set shiftwidth=2
set expandtab
set textwidth=79
"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
endfunction
autocmd BufNewFile,BufFilePre,BufRead *.hs :call HaskellSettings()
@ -313,6 +320,7 @@
crystal = treefmt,
cue = treefmt,
go = treefmt,
haskell = treefmt,
javascript = treefmt,
lua = treefmt,
mint = treefmt,