aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lsp/taplo.lua
blob: 694fafa99b088704d425e18812f047881515d29e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---@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' },
}