aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lsp/tabby_ml.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lsp/tabby_ml.lua')
-rw-r--r--.config/nvim/lsp/tabby_ml.lua18
1 files changed, 18 insertions, 0 deletions
diff --git a/.config/nvim/lsp/tabby_ml.lua b/.config/nvim/lsp/tabby_ml.lua
new file mode 100644
index 0000000..e21db46
--- /dev/null
+++ b/.config/nvim/lsp/tabby_ml.lua
@@ -0,0 +1,18 @@
+---@brief
+---
+--- https://tabby.tabbyml.com/blog/running-tabby-as-a-language-server
+---
+--- Language server for Tabby, an opensource, self-hosted AI coding assistant.
+---
+--- `tabby-agent` can be installed via `npm`:
+---
+--- ```sh
+--- npm install --global tabby-agent
+--- ```
+
+---@type vim.lsp.Config
+return {
+ cmd = { 'tabby-agent', '--lsp', '--stdio' },
+ filetypes = {},
+ root_markers = { '.git' },
+}