Skip to content

Commit 83f376f

Browse files
authored
feat: "just" lsp #3655
1 parent 37bd377 commit 83f376f

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

lua/lspconfig/configs/just.lua

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
return {
2+
default_config = {
3+
cmd = { 'just-lsp' },
4+
filetypes = { 'just' },
5+
root_dir = function(fname)
6+
return vim.fs.dirname(vim.fs.find('.git', { path = fname, upward = true })[1])
7+
end,
8+
single_file_support = true,
9+
},
10+
docs = {
11+
description = [[
12+
https://github.com/terror/just-lsp
13+
14+
`just-lsp` is an LSP for just built on top of the tree-sitter-just parser.
15+
]],
16+
},
17+
}

0 commit comments

Comments
 (0)