Set the default version to be LuaJIT for the lsp

This commit is contained in:
Ivar Fatland
2023-06-08 21:10:41 +02:00
parent 4acb8716c3
commit efb847725a
+5 -1
View File
@@ -209,7 +209,11 @@ local function packer_startup(use)
require("neodev").setup{} -- load the neovim api
require("lspconfig").lua_ls.setup {
capabilities = capabilities,
Lua = { runtime = { version = 'LuaJIT', } }
settings = {
Lua = {
runtime = { version = 'LuaJIT', }
}
}
}
end,
}