dotfiles/.config/nvim/coc-settings.json

98 lines
2.4 KiB
JSON
Raw Normal View History

2021-04-09 20:48:44 +00:00
{
"languageserver": {
"golang": {
"command": "gopls",
"rootPatterns": ["go.mod", ".vim/", ".git/", ".hg/"],
"filetypes": ["go"]
2021-06-27 15:05:31 +00:00
},
"ccls": {
"command": "ccls",
"filetypes": [
"c",
"cpp",
"objc",
"objcpp"
],
"rootPatterns": [
".ccls",
"compile_commands.json",
".vim/",
".git/",
".hg/"
],
"initializationOptions": {
"cache": {
"directory": "/tmp/ccls"
}
}
2021-04-09 20:48:44 +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
// }
// }
// }
// }
// }
},
// explorer
"explorer.width": 30,
"explorer.keyMappings.global": {
"<cr>": ["expandable?", ["expanded?", "collapse", "expand"], "open"],
"v": "open:vsplit"
},
"explorer.icon.enableNerdfont": true,
"explorer.previewAction.onHover": false
}