mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-12-13 18:42:59 +01:00
update vim config for haskell
This commit is contained in:
parent
9c13cbf506
commit
777be9a4c9
2 changed files with 12 additions and 0 deletions
11
nvim/coc-settings.json
Normal file
11
nvim/coc-settings.json
Normal 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"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -89,5 +89,6 @@ autocmd StdinReadPre * let s:std_in=1
|
||||||
autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif
|
autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif
|
||||||
|
|
||||||
filetype plugin on
|
filetype plugin on
|
||||||
|
set nocompatible
|
||||||
syntax on
|
syntax on
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue