From 5b5f0bac38a0e83cfbcb2056644339376c415a71 Mon Sep 17 00:00:00 2001 From: ArthurErlich Date: Tue, 7 Jul 2026 23:29:08 +0200 Subject: [PATCH] Add Lua language server config and VS Code extension recommendation .luarc.json declares the hl global so sumneko.lua doesn't flag hyprland.lua's hl.* calls as undefined globals; extensions.json recommends the sumneko.lua extension itself. --- .luarc.json | 3 +++ .vscode/extensions.json | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 .luarc.json create mode 100644 .vscode/extensions.json diff --git a/.luarc.json b/.luarc.json new file mode 100644 index 0000000..b4c5afb --- /dev/null +++ b/.luarc.json @@ -0,0 +1,3 @@ +{ + "diagnostics.globals": ["hl"] +} diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..c4543f5 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,3 @@ +{ + "recommendations": ["sumneko.lua"] +}