summaryrefslogtreecommitdiff
path: root/nvim/.config/nvim/coc-settings.json
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/.config/nvim/coc-settings.json')
-rw-r--r--nvim/.config/nvim/coc-settings.json89
1 files changed, 89 insertions, 0 deletions
diff --git a/nvim/.config/nvim/coc-settings.json b/nvim/.config/nvim/coc-settings.json
new file mode 100644
index 0000000..18223ed
--- /dev/null
+++ b/nvim/.config/nvim/coc-settings.json
@@ -0,0 +1,89 @@
+{
+ "python.linting.pylintEnabled": true,
+ "python.linting.flake8Enabled": false,
+ "python.linting.enabled": true,
+ "python.pythonPath": "/usr/bin/python",
+
+ "languageserver": {
+ "ccls": {
+ "command": "ccls",
+ "filetypes": ["c", "cpp", "cuda", "objc", "objcpp"],
+ "rootPatterns": [".ccls-root", ".git/"],
+ "initializationOptions": {
+ "highlight": {
+ "lsRanges": true
+ },
+ "cache": {
+ "directory": ".ccls-cache"
+ }
+ }
+ },
+ "python": {
+ "command": "python",
+ "args": [
+ "-mpylsp",
+ "-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
+ }
+ }
+ }
+ }
+ }
+ }
+}