112 lines
2.5 KiB
JSON
112 lines
2.5 KiB
JSON
{
|
|
"suggest.noselect": false,
|
|
"coc.preferences.formatOnSaveFiletypes": [
|
|
"javascript",
|
|
"typescript",
|
|
"typescriptreact",
|
|
"typescriptvue",
|
|
"json",
|
|
"javascriptreact",
|
|
"javascriptvue",
|
|
"typescript.tsx",
|
|
"graphql"
|
|
],
|
|
"languageserver": {
|
|
"bash": {
|
|
"command": "bash-language-server",
|
|
"args": ["start"],
|
|
"filetypes": ["sh"]
|
|
},
|
|
"clangd": {
|
|
"command": "clangd",
|
|
"rootPatterns": ["compile_flags.txt", "compile_commands.json"],
|
|
"filetypes": ["c", "cc", "cpp", "c++", "objc", "objcpp"]
|
|
},
|
|
"sql": {
|
|
"command": "sql-language-server",
|
|
"args": ["up", "--method", "stdio"],
|
|
"filetypes": ["sql", "mysql"]
|
|
},
|
|
"dockerfile": {
|
|
"command": "docker-langserver",
|
|
"filetypes": ["dockerfile"],
|
|
"args": ["--stdio"]
|
|
},
|
|
"graphql": {
|
|
"command": "graphql-lsp",
|
|
"args": ["server", "-m", "stream"],
|
|
"filetypes": ["typescript", "typescriptreact", "graphql"]
|
|
},
|
|
"rust": {
|
|
"command": "rust-analyzer",
|
|
"filetypes": ["rust"],
|
|
"rootPatterns": ["Cargo.toml"]
|
|
},
|
|
"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
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
}
|