Back to Extensions Directory
Read the complete README
coc-texlab
Heyward FannTexLab extension for coc.nvim
Installation CommandVim prompt
:CocInstall coc-texlab
GitHub owner
Heyward FannVersion
v3.3.0npm package
coc-texlabRequirements
coc ^0.0.80
License
MIT
Repository
GitHubnpm latest published 2023-09-12Registry checked 2026-08-23Registry summary
Published Package Summary
coc-texlab
fork of texlab-vscode, provides editing support for LaTeX documents, powered by the TexLab language server.
Install
:CocInstall coc-texlab
Requirements
- A TeX distribution. All distributions that are based on TeX Live or MikTeX are supported.
- On Windows, you will need to install Microsoft Visual C++ Redistributable for Visual Studio 2015.
More info in TexLab Docs
License
MIT
- TexLab extension for coc.nvim
Activation Events
- onLanguage:tex
- onLanguage:latex
- onLanguage:bibtex
- onLanguage:plaintex
Developer Resources
Want to build, test, or contribute to coc.nvim extensions? Explore our official SDK and testing toolkits.
Open Developer GuideVersion History
This published npm package does not include a history.md or changelog.md file. Browse its npm versions or repository releases for available release information.
Contributed Commands
All contributes.commands entries from the published package manifest for coc-texlab@3.3.0.
| Command (:CocCommand) | Description |
|---|---|
| latex.Build | Build current LaTeX file |
| latex.ForwardSearch | Performs a forward search from the current file, used to preview PDF |
| latex.UpdateLanguageServer | Upgrade TexLab Server to latest version |
Configuration Schema
All contributes.configuration entries from the published package manifest, including each raw property schema for coc-settings.json.
texlab.pathstring
Custom texlab binary path
Default: ""
Raw JSON Schema
{
"type": "string",
"default": "",
"description": "Custom texlab binary path"
}texlab.build.argsarray
Additional arguments that are passed to the build tool.
Default: ["-pdf","-interaction=nonstopmode","-synctex=1","%f"]
Raw JSON Schema
{
"type": "array",
"default": [
"-pdf",
"-interaction=nonstopmode",
"-synctex=1",
"%f"
],
"description": "Additional arguments that are passed to the build tool."
}texlab.auxDirectorystring
Directory containing the build artifacts.
Default: "."
Raw JSON Schema
{
"type": "string",
"default": ".",
"description": "Directory containing the build artifacts."
}texlab.build.onSaveboolean
Build after saving a file
Default: false
Raw JSON Schema
{
"type": "boolean",
"default": false,
"description": "Build after saving a file"
}texlab.trace.serverstring
Traces the communication between client and language server.
Default: "off"
Raw JSON Schema
{
"enum": [
"off",
"messages",
"verbose"
],
"type": "string",
"default": "off",
"description": "Traces the communication between client and language server."
}texlab.chktex.onEditboolean
Lint using chktex after changing a file
Default: false
Raw JSON Schema
{
"type": "boolean",
"default": false,
"description": "Lint using chktex after changing a file"
}texlab.rootDirectorystring | null
Path to the root directory.
Default: null
Raw JSON Schema
{
"type": [
"string",
"null"
],
"default": null,
"description": "Path to the root directory."
}texlab.latexFormatterstring
LaTeX formatter to use.
Default: "latexindent"
Raw JSON Schema
{
"type": "string",
"default": "latexindent",
"description": "LaTeX formatter to use."
}texlab.bibtexFormatterstring
BibTeX formatter to use.
Default: "texlab"
Raw JSON Schema
{
"type": "string",
"default": "texlab",
"description": "BibTeX formatter to use."
}texlab.build.executablestring
Path to a LaTeX build tool.
Default: "latexmk"
Raw JSON Schema
{
"type": "string",
"default": "latexmk",
"description": "Path to a LaTeX build tool."
}texlab.latexindent.localstring | null
Configures the --local flag of latexindent.
Default: null
Raw JSON Schema
{
"type": [
"string",
"null"
],
"default": null,
"description": "Configures the --local flag of latexindent."
}texlab.forwardSearch.argsarray
Additional arguments that are passed to the previewer.
Default: []
Raw JSON Schema
{
"type": "array",
"default": [],
"description": "Additional arguments that are passed to the previewer."
}texlab.formatterLineLengthinteger
Maximum amount of characters per line (0 = disable).
Default: 80
Raw JSON Schema
{
"type": "integer",
"default": 80,
"description": "Maximum amount of characters per line (0 = disable)."
}texlab.chktex.onOpenAndSaveboolean
Lint using chktex after opening and saving a file.
Default: false
Raw JSON Schema
{
"type": "boolean",
"default": false,
"description": "Lint using chktex after opening and saving a file."
}texlab.build.forwardSearchAfterboolean
Execute forward search after building
Default: false
Raw JSON Schema
{
"type": "boolean",
"default": false,
"description": "Execute forward search after building"
}texlab.forwardSearch.executablestring | null
Path to a PDF previewer that supports SyncTeX.
Default: null
Raw JSON Schema
{
"type": [
"string",
"null"
],
"default": null,
"description": "Path to a PDF previewer that supports SyncTeX."
}texlab.latexindent.modifyLineBreaksboolean
Configures the --modifylinebreaks flag of latexindent.
Default: false
Raw JSON Schema
{
"type": "boolean",
"default": false,
"description": "Configures the --modifylinebreaks flag of latexindent."
}