LSP-vale-ls
A vale-ls client for Sublime Text.
Details
Installs
- Total 286
- Win 72
- Mac 120
- Linux 94
| Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | Oct 7 | Oct 6 | Oct 5 | Oct 4 | Oct 3 | Oct 2 | Oct 1 | Sep 30 | Sep 29 | Sep 28 | Sep 27 | Sep 26 | Sep 25 | Sep 24 | Sep 23 | Sep 22 | Sep 21 | Sep 20 | Sep 19 | Sep 18 | Sep 17 | Sep 16 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 |
| Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 |
| Linux | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
LSP-vale-ls
This is a helper package that automatically installs and updates vale-ls for Sublime Text. Vale is a syntax-aware linter for prose built with speed and extensibility in mind.
Requirements
To use this package, you must have the LSP package installed.
It's recommended, but not required, to install the LSP-json package which will provide auto-completion and validation for this package's settings.
Features
The server also provides:
- Diagnostics: Vale's alerts, updated as you type rather than only on save (see
lintOnChangeanddebounceMs). - CodeLensProvider: a per-document metrics lens — word count, reading time, and so on (see
showMetrics). - Vocabulary code actions: accept a flagged term into your vocabulary, or reject it.
Configuration
There are multiple ways to configure the package and the language server.
- Global configuration:
Preferences > Package Settings > LSP > Servers > LSP-vale-ls Project-specific configuration: From the Command Palette run
Project: Edit Projectand add your settings in:{ "settings": { "LSP": { "LSP-vale-ls": { "initialization_options": { // Put your settings here } } } } }
Settings
| Setting | Default | Description |
|---|---|---|
installVale |
true |
Install and update Vale automatically. If false, Vale must be installed and available on your $PATH. |
syncOnStartup |
true |
Run vale sync when the server starts. |
filter |
"" |
An output filter to apply when calling Vale. |
configPath |
"" |
An absolute path to a .vale.ini file, used instead of the default search process. |
valeBinaryPath |
"" |
An absolute path to the Vale binary to run, instead of the server-managed copy. |
lintOnChange |
true |
Lint the buffer as it changes, not just when it's saved. |
debounceMs |
300 |
How long typing has to settle before linting, in milliseconds. |
showMetrics |
true |
Show the document metrics code lens. |
root |
"" |
An absolute path to the directory to run Vale from, instead of the document's workspace folder. |
Commands
From the Command Palette:
LSP-vale-ls: Sync Configuration— download the packages and styles your.vale.iniasks for.LSP-vale-ls: Install or Update Vale— install or update the server-managed copy of Vale.