Docs
Guides
LSP

LSP

Get started with Vale's Language Server.

The Vale Language Server (vale-ls) is an implementation of the Language Server Protocol (LSP) that acts as a wrapper around a local installation of Vale, providing autocomplete, diagnostics, hover popups, and more, in many popular text editors and IDEs.

Some available integrations include:

Configuration

The server supports the following initializationParams:

ParameterDefaultDescription
installValetrueAutomatically install and update Vale to a vale_bin folder in the same location as vale-ls. If false, the vale executable needs to be available on the user’s $PATH.
filterNoneAn output filter to apply when calling Vale.
configPathNoneAn absolute path to a .vale.ini file to be used as the default configuration.
syncOnStartuptrueRuns vale sync upon starting the server.

To use the server, you’ll need to download the latest release from GitHub. See the Sublime Text package for an example of how to use the server.