1.0.4 • Published 7 months ago

cspell-lsp v1.0.4

Weekly downloads
-
License
GPL-3.0-only
Repository
-
Last release
7 months ago

Spell Checker LSP

This extension performs spell checking in source code files, using the cspell library.

This is a fork of vscode-spell-checker and adapted to work with the Helix text editor.

Build

npm install
bun build ./main.ts --compile --outfile cspell-lsp

should work with npm

Helix config

helix/languages.toml:

[language-server.cspell]
command = "cspell-lsp"
args = ["--stdio", "--dictionary", "<path to dictionary file>"]

# Add for every language that you want to spell check
[[language]]
name = "rust"
language-servers = ["rust-analyzer", "cspell"]

[[language]]
name = "cpp"
language-servers = [ "clangd", "cspell" ]

[[language]]
name = "markdown"
language-servers = [ "marksman", "cspell" ]

For reference https://github.com/helix-editor/helix/blob/86023cf1e6c9ab12446061e40c838335c5790979/languages.toml

1.0.2

7 months ago

1.0.4

7 months ago

1.0.3

7 months ago

1.0.1

7 months ago

1.0.0

7 months ago