Add coc config

This commit is contained in:
Victor Timofei 2021-04-09 23:48:44 +03:00
parent 6191b25b7e
commit c3095865fd
Signed by: vtimofei
GPG Key ID: B790DCEBE281403A
1 changed files with 76 additions and 0 deletions

View File

@ -0,0 +1,76 @@
{
"languageserver": {
"golang": {
"command": "gopls",
"rootPatterns": ["go.mod", ".vim/", ".git/", ".hg/"],
"filetypes": ["go"]
}
// "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
// }
// }
// }
// }
// }
},
// explorer
"explorer.width": 30,
"explorer.keyMappings.global": {
"<cr>": ["expandable?", ["expanded?", "collapse", "expand"], "open"],
"v": "open:vsplit"
},
"explorer.icon.enableNerdfont": true,
"explorer.previewAction.onHover": false
}