From 8ab6eef6ebbfdf40a13adb0cba24370ffdedad26 Mon Sep 17 00:00:00 2001 From: Damian D'Souza <113062544+damian-ds7@users.noreply.github.com> Date: Wed, 15 Jul 2026 05:43:47 +0200 Subject: [PATCH] feat: add nvim settings (#11) --- .nvim.lua | 1 + .nvim/lsp/luau_lsp.lua | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 .nvim.lua create mode 100644 .nvim/lsp/luau_lsp.lua diff --git a/.nvim.lua b/.nvim.lua new file mode 100644 index 0000000..2b83437 --- /dev/null +++ b/.nvim.lua @@ -0,0 +1 @@ +vim.cmd [[set runtimepath+=.nvim]] diff --git a/.nvim/lsp/luau_lsp.lua b/.nvim/lsp/luau_lsp.lua new file mode 100644 index 0000000..e2653de --- /dev/null +++ b/.nvim/lsp/luau_lsp.lua @@ -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, + }, + }, + }, +}