fix(nvim): configure lua_ls

This commit is contained in:
Michael Mandl 2023-05-11 16:35:40 +02:00
parent 0d59a43a45
commit b29d24a446
Signed by: mandlm
GPG key ID: 4AA25D647AA54CC7

View file

@ -68,7 +68,22 @@ local servers = {
["bashls"] = {}, ["bashls"] = {},
["dockerls"] = {}, ["dockerls"] = {},
["jsonls"] = {}, ["jsonls"] = {},
["lua_ls"] = {}, ["lua_ls"] = {
Lua = {
runtime = {
version = "LuaJIT",
},
diagnostics = {
globals = { "vim" },
},
workspace = {
library = vim.api.nvim_get_runtime_file("", true),
},
telemetry = {
enable = false,
},
},
},
["pylsp"] = { ["pylsp"] = {
pylsp = { pylsp = {
plugins = { plugins = {