27 lines
587 B
Lua
27 lines
587 B
Lua
return {
|
|
settings = {
|
|
Lua = {
|
|
runtime = {
|
|
version = 'LuaJIT',
|
|
},
|
|
hint = {
|
|
enable = true,
|
|
paramName = 'Literal',
|
|
setType = true,
|
|
},
|
|
diagnostics = {
|
|
-- Get the language server to recognize the `vim` global
|
|
globals = { 'vim' },
|
|
},
|
|
workspace = {
|
|
checkThirdParty = false,
|
|
-- Make the server aware of Neovim runtime files
|
|
library = {
|
|
vim.env.VIMRUNTIME,
|
|
--[[ "${3rd}/busted/library", ]]
|
|
'${3rd}/luv/library',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|