From 80d66d9b5697249c880716ed7b1ac33b593d5fb7 Mon Sep 17 00:00:00 2001 From: Daniil Tsivinsky Date: Fri, 13 Mar 2026 22:21:17 +0300 Subject: [PATCH] neovim: load neovim runtime for lua lsp --- neovim/.config/nvim/after/plugin/lsp/other.lua | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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), }, }, },