Set lua_ls runtime version to LuaJIT
* Set lua_ls runtime version to LuaJIT * Update lspconfig.lua --------- Co-authored-by: Sidhanth Rathod <siduck@tutanota.com>
This commit is contained in:
co-authored by
Sidhanth Rathod
parent
a792fd1d96
commit
29ebe31ea6
@@ -59,6 +59,7 @@ M.defaults = function()
|
|||||||
|
|
||||||
local lua_lsp_settings = {
|
local lua_lsp_settings = {
|
||||||
Lua = {
|
Lua = {
|
||||||
|
runtime = { version = "LuaJIT" },
|
||||||
workspace = {
|
workspace = {
|
||||||
library = {
|
library = {
|
||||||
vim.fn.expand "$VIMRUNTIME/lua",
|
vim.fn.expand "$VIMRUNTIME/lua",
|
||||||
|
|||||||
Reference in New Issue
Block a user