From 63b6e7d4c63f71f0f9cecc43362f213cef412c0d Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Fri, 6 Feb 2026 13:58:30 -0500 Subject: [PATCH] fix(ci): add jit to luarc globals for lua-language-server jit is a standard LuaJIT global (like vim), needed by lib.lua for platform detection via jit.os and jit.arch. --- .luarc.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.luarc.json b/.luarc.json index 3ccfeda..b438cce 100644 --- a/.luarc.json +++ b/.luarc.json @@ -1,7 +1,7 @@ { "runtime.version": "Lua 5.1", "runtime.path": ["lua/?.lua", "lua/?/init.lua"], - "diagnostics.globals": ["vim"], + "diagnostics.globals": ["vim", "jit"], "workspace.library": ["$VIMRUNTIME/lua", "${3rd}/luv/library"], "workspace.checkThirdParty": false, "completion.callSnippet": "Replace"