From 0f49838919cc5e8fc9c31dfaf3acec5526cc17c1 Mon Sep 17 00:00:00 2001 From: Bauke Date: Fri, 28 Apr 2023 13:24:45 +0200 Subject: [PATCH] Add Lua Language Server settings for Conky. --- .bauke/.vscode/settings.json | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.bauke/.vscode/settings.json b/.bauke/.vscode/settings.json index 1e48582..12d68a7 100644 --- a/.bauke/.vscode/settings.json +++ b/.bauke/.vscode/settings.json @@ -3,5 +3,14 @@ "git.untrackedChanges": "hidden", "[typescript]": { "editor.defaultFormatter": "denoland.vscode-deno" - } + }, + "Lua.diagnostics.disable": [ + // The custom functions for Conky must be global and start with lowercase + // "conky", so this warning has to be disabled. + "lowercase-global" + ], + "Lua.diagnostics.globals": [ + "conky", + "conky_parse" + ] }