feat: add nvim settings (#11)
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
local root_dir = vim.fn.getcwd()
|
||||
|
||||
return {
|
||||
cmd = {
|
||||
"luau-lsp",
|
||||
"lsp",
|
||||
"--definitions:@noctalia=" .. root_dir .. "/noctalia.d.luau",
|
||||
},
|
||||
settings = {
|
||||
["luau-lsp"] = {
|
||||
ignoreGlobs = { "**/*.d.luau" },
|
||||
platform = {
|
||||
type = "standard",
|
||||
},
|
||||
sourcemap = {
|
||||
enabled = false,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user