update vim config for haskell

This commit is contained in:
LordMZTE 2021-01-22 22:59:11 +01:00
parent 9c13cbf506
commit 777be9a4c9
2 changed files with 12 additions and 0 deletions

11
nvim/coc-settings.json Normal file
View file

@ -0,0 +1,11 @@
{
"languageserver": {
"haskell": {
"command": "haskell-language-server-wrapper",
"args": ["--lsp"],
"rootPatterns": ["*.cabal", "stack.yaml", "cabal.project", "package.yaml", "hie.yaml"],
"filetypes": ["haskell", "lhaskell"]
}
}
}

View file

@ -89,5 +89,6 @@ autocmd StdinReadPre * let s:std_in=1
autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif
filetype plugin on
set nocompatible
syntax on