aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lsp/fish_lsp.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lsp/fish_lsp.lua')
-rw-r--r--.config/nvim/lsp/fish_lsp.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/.config/nvim/lsp/fish_lsp.lua b/.config/nvim/lsp/fish_lsp.lua
new file mode 100644
index 0000000..05d5cf9
--- /dev/null
+++ b/.config/nvim/lsp/fish_lsp.lua
@@ -0,0 +1,17 @@
+---@brief
+---
+--- https://github.com/ndonfris/fish-lsp
+---
+--- A Language Server Protocol (LSP) tailored for the fish shell.
+--- This project aims to enhance the coding experience for fish,
+--- by introducing a suite of intelligent features like auto-completion,
+--- scope aware symbol analysis, per-token hover generation, and many others.
+---
+--- [homepage](https://www.fish-lsp.dev/)
+
+---@type vim.lsp.Config
+return {
+ cmd = { 'fish-lsp', 'start' },
+ filetypes = { 'fish' },
+ root_markers = { 'config.fish', '.git' },
+}