diff --git a/home-manager/neovim/lspconfig.lua b/home-manager/neovim/lspconfig.lua index 55dbefa..8db0ef1 100644 --- a/home-manager/neovim/lspconfig.lua +++ b/home-manager/neovim/lspconfig.lua @@ -68,7 +68,22 @@ local servers = { ["bashls"] = {}, ["dockerls"] = {}, ["jsonls"] = {}, - ["lua_ls"] = {}, + ["lua_ls"] = { + Lua = { + runtime = { + version = "LuaJIT", + }, + diagnostics = { + globals = { "vim" }, + }, + workspace = { + library = vim.api.nvim_get_runtime_file("", true), + }, + telemetry = { + enable = false, + }, + }, + }, ["pylsp"] = { pylsp = { plugins = {