From c4279b8ffce9b64eb302056d78dfebc2968a49bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20H=C3=A4rtl?= Date: Wed, 6 Nov 2024 09:01:44 +0100 Subject: [PATCH] Update config for lua_ls --- .luarc.json | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.luarc.json b/.luarc.json index bc34f3a..c76beba 100644 --- a/.luarc.json +++ b/.luarc.json @@ -1,4 +1,16 @@ { - "$schema": "https://raw.githubusercontent.com/sumneko/vscode-lua/master/setting/schema.json", - "Lua.workspace.checkThirdParty": false + "$schema": "https://raw.githubusercontent.com/LuaLS/vscode-lua/master/setting/schema.json", + "runtime": { + "version": "LuaJIT" + }, + "workspace": { + "library": [ + "lua", + "$VIMRUNTIME", + "${3rd}/luv/library", + "${3rd}/busted/library", + "${3rd}/luassert/library" + ], + "checkThirdParty": false + } }