Move lsp config to local file structure
This commit is contained in:
parent
e5c3bb2492
commit
20801272fc
383 changed files with 11829 additions and 114 deletions
17
.config/nvim/lsp/taplo.lua
Normal file
17
.config/nvim/lsp/taplo.lua
Normal file
|
|
@ -0,0 +1,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' },
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue