19 lines
412 B
Lua
19 lines
412 B
Lua
|
local lspconfig = require("lspconfig")
|
||
|
|
||
|
-- FIXME: https://github.com/folke/neodev.nvim ?
|
||
|
lspconfig.lua_ls.setup({
|
||
|
settings = {
|
||
|
Lua = {
|
||
|
runtime = {
|
||
|
version = "LuaJIT",
|
||
|
},
|
||
|
workspace = {
|
||
|
checkThirdParty = false,
|
||
|
library = {
|
||
|
vim.env.VIMRUNTIME,
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
})
|