Skip to content

Commit 6dfb246

Browse files
authored
feat: add fish-lsp support (#3188)
1 parent 710a8fa commit 6dfb246

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
local util = require 'lspconfig.util'
2+
3+
return {
4+
default_config = {
5+
cmd = { 'fish-lsp', 'start' },
6+
cmd_env = { fish_lsp_show_client_popups = false },
7+
filetypes = { 'fish' },
8+
root_dir = util.find_git_ancestor,
9+
single_file_support = true,
10+
},
11+
docs = {
12+
description = [[
13+
https://github.com/ndonfris/fish-lsp
14+
15+
A Language Server Protocol (LSP) tailored for the fish shell.
16+
This project aims to enhance the coding experience for fish,
17+
by introducing a suite of intelligent features like auto-completion,
18+
scope aware symbol analysis, per-token hover generation, and many others.
19+
20+
[homepage](https://www.fish-lsp.dev/)
21+
]],
22+
default_config = {
23+
root_dir = [[util.find_git_ancestor]],
24+
},
25+
},
26+
}

0 commit comments

Comments
 (0)