fix(nvim): configure lua_ls

main
mandlm 2023-05-11 16:35:40 +02:00
parent 0d59a43a45
commit b29d24a446
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7
1 changed files with 16 additions and 1 deletions

View File

@ -68,7 +68,22 @@ local servers = {
["bashls"] = {},
["dockerls"] = {},
["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 = {
plugins = {