diff options
Diffstat (limited to 'lsp/panache.lua')
| -rw-r--r-- | lsp/panache.lua | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lsp/panache.lua b/lsp/panache.lua new file mode 100644 index 00000000..45a0f2b9 --- /dev/null +++ b/lsp/panache.lua @@ -0,0 +1,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' }, +} |
