From 9f8ce72e553e85ba6a42b7cd083688455890dd91 Mon Sep 17 00:00:00 2001 From: siduck76 Date: Fri, 9 Jul 2021 09:19:24 +0530 Subject: [PATCH] add preload sizes for lua lsp (#143) --- lua/plugins/lspconfig.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lua/plugins/lspconfig.lua b/lua/plugins/lspconfig.lua index a303565..bf0bdcb 100644 --- a/lua/plugins/lspconfig.lua +++ b/lua/plugins/lspconfig.lua @@ -64,7 +64,9 @@ M.config = function() library = { [vim.fn.expand("$VIMRUNTIME/lua")] = true, [vim.fn.expand("$VIMRUNTIME/lua/vim/lsp")] = true - } + }, + maxPreload = 100000, + preloadFileSize = 10000 }, telemetry = { enable = false