diff --git a/neovim/.config/nvim/after/plugin/lsp/other.lua b/neovim/.config/nvim/after/plugin/lsp/other.lua index bf67aed..5efade6 100644 --- a/neovim/.config/nvim/after/plugin/lsp/other.lua +++ b/neovim/.config/nvim/after/plugin/lsp/other.lua @@ -11,13 +11,8 @@ vim.lsp.config.lua_ls = { telemetry = { enable = false, }, - diagnostics = { - globals = { "vim" }, - }, workspace = { - library = { - vim.fn.expand("~/.local/share/nvim/site/pack/packer/start"), - }, + library = vim.api.nvim_get_runtime_file("", true), }, }, },