From 5d1910e1e0f7e5044c91a54cb8bf2c98a96cb5c1 Mon Sep 17 00:00:00 2001 From: Olivia Kinnear Date: Sun, 10 May 2026 07:11:20 -0500 Subject: [PATCH] fix(luarc.json): increase `workspace.preloadFileSize` #39711 Problem: When using the default `lua_ls` config from nvim-lspconfig, the following info message gets printed: ``` LSP[lua_ls] Too large file: src/nvim/eval.lua skipped. The currently set size limit is: 500 KB, and the file size is: 511.133 KB. ``` Solution: Set `workspace.preloadFileSize` to 1000 KB instead of the default 500 KB. --- .luarc.json | 1 + 1 file changed, 1 insertion(+) diff --git a/.luarc.json b/.luarc.json index 87eaa43928..56d397f28c 100644 --- a/.luarc.json +++ b/.luarc.json @@ -9,6 +9,7 @@ "build", "test" ], + "preloadFileSize": 1000, "checkThirdParty": "Disable" }, "diagnostics": {