From ff84b5cee3c2a84c8be3c30f897e50d25358b1d3 Mon Sep 17 00:00:00 2001 From: HampusM Date: Tue, 29 Oct 2024 19:51:44 +0100 Subject: restructure lua coc extension configs --- coc-settings.json | 47 +++++++++++------------------------------------ 1 file changed, 11 insertions(+), 36 deletions(-) diff --git a/coc-settings.json b/coc-settings.json index d3e5120..3ecb844 100644 --- a/coc-settings.json +++ b/coc-settings.json @@ -7,42 +7,17 @@ "focusable": true, "rounded": 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.workspace.maxPreload": 10000, + "Lua.workspace.preloadFileSize": 10000000, + "Lua.diagnostics.enable": true, + "Lua.completion.callSnippet": "Both", + "Lua.completion.displayContext": 2, + "Lua.completion.showWord": "Enable", + "Lua.completion.keywordSnippet": "Both", + "Lua.hint.setType": true, + "Lua.hint.paramName": "Disable", + "Lua.hint.paramType": false, + "Lua.window.statusBar": false, "clangd.compilationDatabasePath": "build", "rust-analyzer.restartServerOnConfigChange": true, "rust-analyzer.cargo.features": "all", -- cgit v1.2.3-18-g5258