From 3285cef17aeddd8515d06c5e13b46d7d536af33d Mon Sep 17 00:00:00 2001 From: Daniil Tsivinsky Date: Tue, 20 May 2025 21:28:04 +0300 Subject: [PATCH] neovim: add workspace to lua_ls settings --- neovim/.config/nvim/after/plugin/lsp/other.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/neovim/.config/nvim/after/plugin/lsp/other.lua b/neovim/.config/nvim/after/plugin/lsp/other.lua index 2b25575..b51fb00 100644 --- a/neovim/.config/nvim/after/plugin/lsp/other.lua +++ b/neovim/.config/nvim/after/plugin/lsp/other.lua @@ -11,6 +11,11 @@ vim.lsp.config.lua_ls = { diagnostics = { globals = { "vim" }, }, + workspace = { + library = { + vim.fn.expand("~/.local/share/nvim/site/pack/packer/start"), + }, + }, }, }, }