neovim: load neovim runtime for lua lsp
This commit is contained in:
@@ -11,13 +11,8 @@ vim.lsp.config.lua_ls = {
|
|||||||
telemetry = {
|
telemetry = {
|
||||||
enable = false,
|
enable = false,
|
||||||
},
|
},
|
||||||
diagnostics = {
|
|
||||||
globals = { "vim" },
|
|
||||||
},
|
|
||||||
workspace = {
|
workspace = {
|
||||||
library = {
|
library = vim.api.nvim_get_runtime_file("", true),
|
||||||
vim.fn.expand("~/.local/share/nvim/site/pack/packer/start"),
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user