mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-11 02:45:48 +08:00
24 lines
486 B
Lua
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
|
||
|
```
|
||
|
]],
|
||
|
},
|
||
|
}
|