From 16eed6e7663afccfe36fd8c0301927fd1858c5c8 Mon Sep 17 00:00:00 2001 From: Gregory Anders <8965202+gpanders@users.noreply.github.com> Date: Sun, 6 Nov 2022 14:31:54 -0700 Subject: [PATCH] fix: add lfs to luarc.json (#20979) The sumneko lua language server keeps prompting me if I want to "configure my workspace for lfs". These changes suppress that prompt. --- contrib/luarc.json | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/contrib/luarc.json b/contrib/luarc.json index 8d76d1261d..68d1d5800a 100644 --- a/contrib/luarc.json +++ b/contrib/luarc.json @@ -10,13 +10,16 @@ "before_each", "after_each", "setup", - "teardown" + "teardown", + "lfs" ] }, "workspace": { - "library": { - "runtime/lua": true - }, + "library": [ + "runtime/lua", + "${3rd}/lfs/library" + ], + "checkThirdParty": false, "maxPreload": 2000, "preloadFileSize": 1000 },