summaryrefslogtreecommitdiff
path: root/nvim/lsp/luau_lsp.lua
diff options
context:
space:
mode:
authoranand <anand.panchdhari@gmail.com>2025-12-17 15:57:55 +0530
committeranand <anand.panchdhari@gmail.com>2025-12-17 15:57:55 +0530
commitb7ef29a8886a57aadb787807a7c6cf74c1f0ed3a (patch)
tree366a68240fbc9da6b1d567bd6c46d1350ad814de /nvim/lsp/luau_lsp.lua
Nixos
Diffstat (limited to 'nvim/lsp/luau_lsp.lua')
-rwxr-xr-xnvim/lsp/luau_lsp.lua18
1 files changed, 18 insertions, 0 deletions
diff --git a/nvim/lsp/luau_lsp.lua b/nvim/lsp/luau_lsp.lua
new file mode 100755
index 0000000..70f3ac1
--- /dev/null
+++ b/nvim/lsp/luau_lsp.lua
@@ -0,0 +1,18 @@
+---@brief
+---
+--- https://github.com/JohnnyMorganz/luau-lsp
+---
+--- Language server for the [Luau](https://luau-lang.org/) language.
+---
+--- `luau-lsp` can be installed by downloading one of the release assets available at https://github.com/JohnnyMorganz/luau-lsp.
+---
+--- You might also have to set up automatic filetype detection for Luau files, for example like so:
+---
+--- ```vim
+--- autocmd BufRead,BufNewFile *.luau setf luau
+--- ```
+return {
+ cmd = { 'luau-lsp', 'lsp' },
+ filetypes = { 'luau' },
+ root_markers = { '.git' },
+}