File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
lua/lspconfig/server_configurations Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change
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
+ }
You can’t perform that action at this time.
0 commit comments