LaTeX support for Sublime's LSP plugin provided through latex-lsp/texlab.
Note that this plugin requires ST >= 4070.
- Install LSP and LSP-TexLab via Package Control.
- (Optional) Install ChkTex for linting.
- Restart Sublime.
There are some ways to configure the package and the language server.
- From
Preferences > Package Settings > LSP > Servers > LSP-TexLab
- From the command palette
Preferences: LSP-TexLab Settings
Sublime Command | Description |
---|---|
lsp_texlab_forward_search | Performs a forward search from the first cursor position |
lsp_texlab_build | Build the current file |
The targeted version of texlab
is defined in const.py
.
# @see https://github.com/latex-lsp/texlab/releases
TEXLAB_VERSION = "v2.2.0"
If that version is not found on the machine, this plugin will try to download it.