neovim: load neovim runtime for lua lsp

This commit is contained in:
2026-03-13 22:21:17 +03:00
parent 49cdb91190
commit 80d66d9b56

View File

@@ -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),
},
},
},