1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-10 12:45:47 +08:00
SpaceVim/bundle/nvim-lspconfig-latest/lua/lspconfig/server_configurations/tabby_ml.lua
2024-05-21 12:31:14 +08:00

24 lines
486 B
Lua

local util = require 'lspconfig.util'
return {
default_config = {
cmd = { 'tabby-agent', '--lsp', '--stdio' },
filetypes = {},
root_dir = util.find_git_ancestor,
single_file_support = true,
},
docs = {
description = [[
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
```
]],
},
}