mirror of
https://github.com/neovim/nvim-lspconfig.git
synced 2025-12-24 23:11:00 +01:00
18 lines
403 B
Lua
18 lines
403 B
Lua
---@brief
|
|
---
|
|
--- https://taplo.tamasfe.dev/cli/usage/language-server.html
|
|
---
|
|
--- Language server for Taplo, a TOML toolkit.
|
|
---
|
|
--- `taplo-cli` can be installed via `cargo`:
|
|
--- ```sh
|
|
--- cargo install --features lsp --locked taplo-cli
|
|
--- ```
|
|
|
|
---@type vim.lsp.Config
|
|
return {
|
|
cmd = { 'taplo', 'lsp', 'stdio' },
|
|
filetypes = { 'toml' },
|
|
root_markers = { '.taplo.toml', 'taplo.toml', '.git' },
|
|
}
|