neovim: added haskell to treefmt
This commit is contained in:
parent
6428e135eb
commit
366c2092a4
|
@ -14,7 +14,7 @@
|
||||||
formatter-nvim # A format runner for neovim
|
formatter-nvim # A format runner for neovim
|
||||||
fugitive # Vim Git wrapper
|
fugitive # Vim Git wrapper
|
||||||
fzf-vim # Full path fuzzy file, buffer, mru, tag, finder for Vim
|
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
|
indentLine # Display thin vertical lines at each indentation level
|
||||||
lualine-nvim
|
lualine-nvim
|
||||||
YouCompleteMe # A code-completion engine for Vim
|
YouCompleteMe # A code-completion engine for Vim
|
||||||
|
@ -193,6 +193,13 @@
|
||||||
set shiftwidth=2
|
set shiftwidth=2
|
||||||
set expandtab
|
set expandtab
|
||||||
set textwidth=79
|
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
|
endfunction
|
||||||
autocmd BufNewFile,BufFilePre,BufRead *.hs :call HaskellSettings()
|
autocmd BufNewFile,BufFilePre,BufRead *.hs :call HaskellSettings()
|
||||||
|
|
||||||
|
@ -313,6 +320,7 @@
|
||||||
crystal = treefmt,
|
crystal = treefmt,
|
||||||
cue = treefmt,
|
cue = treefmt,
|
||||||
go = treefmt,
|
go = treefmt,
|
||||||
|
haskell = treefmt,
|
||||||
javascript = treefmt,
|
javascript = treefmt,
|
||||||
lua = treefmt,
|
lua = treefmt,
|
||||||
mint = treefmt,
|
mint = treefmt,
|
||||||
|
|
Loading…
Reference in a new issue