Skip to content

errata-ai/LSP-vale-ls

Repository files navigation

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

HoverProvider CompletionProvider
See in-editor documentation for any symbol. Autocomplete all StylesPath assets: Styles, Packages, Vocabularies, etc.
DocumentLinkProvider CodeActionProvider
Quickly navigate to external URLs. Fix alerts with a single click.

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 Project and add your settings in:

    {
        "settings": {
            "LSP": {
                "LSP-vale-ls": {
                    "initializationOptions": {
                        // Put your settings here
                    }
                }
            }
        }
    }