From 83f376fad2802df221e50b20e9de1fa2391fc70d Mon Sep 17 00:00:00 2001 From: liam Date: Sat, 5 Apr 2025 11:59:53 -0400 Subject: feat: "just" lsp #3655 --- lua/lspconfig/configs/just.lua | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 lua/lspconfig/configs/just.lua diff --git a/lua/lspconfig/configs/just.lua b/lua/lspconfig/configs/just.lua new file mode 100644 index 00000000..4b2fb70e --- /dev/null +++ b/lua/lspconfig/configs/just.lua @@ -0,0 +1,17 @@ +return { + default_config = { + cmd = { 'just-lsp' }, + filetypes = { 'just' }, + root_dir = function(fname) + return vim.fs.dirname(vim.fs.find('.git', { path = fname, upward = true })[1]) + end, + single_file_support = true, + }, + docs = { + description = [[ +https://github.com/terror/just-lsp + +`just-lsp` is an LSP for just built on top of the tree-sitter-just parser. +]], + }, +} -- cgit v1.2.3-70-g09d2