vim-config/coc-settings.json
2020-01-11 03:51:56 +01:00

45 lines
1.1 KiB
JSON

{
"languageserver": {
"haskell": {
"trace.server": "verbose",
"command": "hie-wrapper",
"args": ["--lsp", "-d", "-l", "/home/jule/lang-server.log"],
"rootPatterns": [
"*.cabal",
"stack.yaml",
"cabal.config",
"cabal.project",
"package.yaml"
],
"filetypes": [
"hs",
"lhs",
"haskell"
],
"initializationOptions": {
"languageServerHaskell": {
"hlintOn": false
}
}
},
"bash": {
"trace.server": "verbose",
"command": "bash-language-server",
"args": ["start"],
"filetypes": ["sh"],
"ignoredRootPaths": ["~"]
},
// install: https://github.com/mattn/efm-langserver
// and: https://github.com/Kuniwak/vint
"efm": {
"command": "efm-langserver",
"args": [],
// custom config path
//"args": ["-c", "/home/jule/.config/efm-langserver/config.yaml"],
"filetypes": ["vim"]
}
},
"coc.preferences.hoverTarget": "float",
"suggest.floatEnable": true
}