2020-01-08 19:03:38 +00:00
|
|
|
{
|
|
|
|
"languageserver": {
|
|
|
|
"haskell": {
|
|
|
|
"trace.server": "verbose",
|
|
|
|
"command": "hie-wrapper",
|
|
|
|
"args": ["--lsp", "-d", "-l", "/home/jule/lang-server.log"],
|
|
|
|
"rootPatterns": [
|
2020-01-08 23:37:34 +00:00
|
|
|
"*.cabal",
|
2020-01-08 19:03:38 +00:00
|
|
|
"stack.yaml",
|
|
|
|
"cabal.config",
|
|
|
|
"cabal.project",
|
|
|
|
"package.yaml"
|
|
|
|
],
|
|
|
|
"filetypes": [
|
|
|
|
"hs",
|
|
|
|
"lhs",
|
|
|
|
"haskell"
|
|
|
|
],
|
|
|
|
"initializationOptions": {
|
|
|
|
"languageServerHaskell": {
|
|
|
|
"hlintOn": false
|
|
|
|
}
|
|
|
|
}
|
2020-01-11 02:51:56 +00:00
|
|
|
},
|
|
|
|
"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"]
|
2020-01-11 03:18:43 +00:00
|
|
|
},
|
|
|
|
"python": {
|
|
|
|
"command": "python",
|
|
|
|
"args": [
|
|
|
|
"-mpyls",
|
|
|
|
"-vv",
|
|
|
|
"--log-file",
|
|
|
|
"/tmp/lsp_python.log"
|
|
|
|
],
|
|
|
|
"trace.server": "verbose",
|
|
|
|
"filetypes": [
|
|
|
|
"python"
|
|
|
|
],
|
|
|
|
"settings": {
|
|
|
|
"pyls": {
|
|
|
|
"enable": true,
|
|
|
|
"trace": {
|
|
|
|
"server": "verbose"
|
|
|
|
},
|
|
|
|
"commandPath": "",
|
|
|
|
"configurationSources": [
|
|
|
|
"pycodestyle"
|
|
|
|
],
|
|
|
|
"plugins": {
|
|
|
|
"jedi_completion": {
|
|
|
|
"enabled": true
|
|
|
|
},
|
|
|
|
"jedi_hover": {
|
|
|
|
"enabled": true
|
|
|
|
},
|
|
|
|
"jedi_references": {
|
|
|
|
"enabled": true
|
|
|
|
},
|
|
|
|
"jedi_signature_help": {
|
|
|
|
"enabled": true
|
|
|
|
},
|
|
|
|
"jedi_symbols": {
|
|
|
|
"enabled": true,
|
|
|
|
"all_scopes": true
|
|
|
|
},
|
|
|
|
"mccabe": {
|
|
|
|
"enabled": true,
|
|
|
|
"threshold": 15
|
|
|
|
},
|
|
|
|
"preload": {
|
|
|
|
"enabled": true
|
|
|
|
},
|
|
|
|
"pycodestyle": {
|
|
|
|
"enabled": true
|
|
|
|
},
|
|
|
|
"pydocstyle": {
|
|
|
|
"enabled": false,
|
|
|
|
"match": "(?!test_).*\\.py",
|
|
|
|
"matchDir": "[^\\.].*"
|
|
|
|
},
|
|
|
|
"pyflakes": {
|
|
|
|
"enabled": true
|
|
|
|
},
|
|
|
|
"rope_completion": {
|
|
|
|
"enabled": true
|
|
|
|
},
|
|
|
|
"yapf": {
|
|
|
|
"enabled": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-01-08 19:03:38 +00:00
|
|
|
},
|
2020-01-08 23:37:34 +00:00
|
|
|
"coc.preferences.hoverTarget": "float",
|
2020-01-08 19:03:38 +00:00
|
|
|
"suggest.floatEnable": true
|
|
|
|
}
|