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
15
.config/nvim/lsp/typos_lsp.lua
Normal file
15
.config/nvim/lsp/typos_lsp.lua
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
---@brief
|
||||
---
|
||||
--- https://github.com/crate-ci/typos
|
||||
--- https://github.com/tekumara/typos-lsp
|
||||
---
|
||||
--- A Language Server Protocol implementation for Typos, a low false-positive
|
||||
--- source code spell checker, written in Rust. Download it from the releases page
|
||||
--- on GitHub: https://github.com/tekumara/typos-lsp/releases
|
||||
|
||||
---@type vim.lsp.Config
|
||||
return {
|
||||
cmd = { 'typos-lsp' },
|
||||
root_markers = { 'typos.toml', '_typos.toml', '.typos.toml', 'pyproject.toml', 'Cargo.toml' },
|
||||
settings = {},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue