From 3c238894c5b6f15c5f27cea8bd3785eb0f1ebf0f Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 18 Sep 2022 11:39:25 +0200 Subject: add config --- coc-settings.json | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 coc-settings.json (limited to 'coc-settings.json') diff --git a/coc-settings.json b/coc-settings.json new file mode 100644 index 0000000..b23b76f --- /dev/null +++ b/coc-settings.json @@ -0,0 +1,67 @@ +{ + "coc.preferences.maxFileSize": "10000MB", + "hover.floatConfig": { + "shadow": true + }, + "Lua": { + "workspace": { + "maxPreload": 10000, + "preloadFileSize": 10000000 + }, + "runtime": { + "version": "Lua 5.1" + }, + "diagnostics": { + "enable": true, + "globals": [ + "vim" + ] + }, + "telemetry": { + "enabled": false + }, + "completion": { + "callSnippet": "Both", + "displayContext": 2, + "showWord": "Enable", + "keywordSnippet": "Both" + }, + "hint": { + "setType": true, + "paramName": "Disable", + "paramType": false + }, + "IntelliSense": { + "traceBeSetted": true, + "traceFieldInject": true + }, + "window": { + "statusBar": false + } + }, + "Lua.telemetry.enable": false, + "clangd.inlayHints.enable": false, + "rust-analyzer.restartServerOnConfigChange": true, + "rust-analyzer.checkOnSave.command": "clippy", + "rust-analyzer.cargo.features": "all", + "rust-analyzer.imports.granularity.enforce": true, + "rust-analyzer.imports.granularity.group": "module", + "rust-analyzer.imports.merge.glob": false, + "rust-analyzer.imports.prefix": "crate", + "rust-analyzer.inlayHints.renderColons": false, + "rust-analyzer.inlayHints.chainingHints.enable": false, + "rust-analyzer.inlayHints.parameterHints.enable": false, + "python.linting.pydocstyleEnabled": true, + "python.analysis.diagnosticMode": "workspace", + "python.analysis.typeCheckingMode": "strict", + "python.linting.pycodestyleEnabled": true, + "python.linting.pylintCategorySeverity.error": "Warning", + "python.venvPath": "~/virtualenvs", + "python.formatting.autopep8Path": "~/virtualenvs/lint/bin/autopep8", + "python.linting.pycodestylePath": "~/virtualenvs/lint/bin/pycodestyle", + "python.linting.pydocstylePath": "~/virtualenvs/lint/bin/pydocstyle", + "python.linting.pydocstyleArgs": [ + "--convention=google" + ] +} + -- cgit v1.2.3-18-g5258