aboutsummaryrefslogtreecommitdiffstats
path: root/lsp/panache.lua
blob: 45a0f2b958dfc5eba2a17a18c528268bbd7edca6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---@brief
---
--- https://github.com/jolars/panache
---
--- A language server, formatter, and linter for Markdown, Quarto, and R Markdown,
--- built in Rust with a lossless CST parser and support for external formatters
--- and linters on code blocks.
---
--- Install via `cargo install panache`, from the [releases page](https://github.com/jolars/panache/releases),
--- or via your system package manager (`nixpkgs`, AUR, `pipx install panache-cli`,
--- `npm install -g @panache-cli/panache`).

---@type vim.lsp.Config
return {
  cmd = { 'panache', 'lsp' },
  filetypes = { 'markdown', 'quarto', 'rmd' },
  root_markers = { '.panache.toml', 'panache.toml', '_quarto.yml', '_bookdown.yml', '.git' },
}