1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-11 02:45:48 +08:00
SpaceVim/bundle/nvim-lspconfig-latest/lua/lspconfig/server_configurations/tabby_ml.lua

24 lines
486 B
Lua
Raw Normal View History

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
```
]],
},
}