return { settings = { Lua = { diagnostics = { globals = { "vim" } }, workspace = { library = { [vim.fn.expand "$VIMRUNTIME/lua/vim/lsp"] = true, [vim.fn.expand "$VIMRUNTIME/lua"] = true, }, maxPreload = 100000, preloadFileSize = 10000, }, }, }, }