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
Configuration
texlab.path
: custom path totexlab
binary, defaults""
texlab.rootDirectory
: Path to the root directory, defaultsnull
texlab.build.executable
: path to a LaTeX build tool, defaultslatexmk
texlab.build.args
: additional arguments passed to build tooltexlab.build.onSave
: build after saving a file, defaultsfalse
texlab.build.isContinuous
: Set this property to true if the build arguments imply a continuous build (like latexmk -pvc), defaultsfalse
texlab.build.forwardSearchAfter
: Execute forward search after building, defaultsfalse
texlab.auxDirectory
: directory containing the build artifacts, defaults"."
texlab.forwardSearch.executable
: path to a PDF previewer that supports SyncTeX, defaultsnull
texlab.forwardSearch.args
: additional arguments passed to the previewer, defaults[]
texlab.chktex.onOpenAndSave
: lint using chktex after opening and saving a file, defaultsfalse
texlab.chktex.onEdit
: lint using chktex after changing a file, defaultsfalse
texlab.bibtexFormatter
: BibTeX formatter to use, defaultstexlab
texlab.formatterLineLength
: maximum amount of characters per line, defaults80
texlab.latexFormatter
: LaTeX formatter to use, defaultslatexindent
texlab.latexindent.local
: Configures the--local
flag of latexindent, defaultsnull
texlab.latexindent.modifyLineBreaks
: Configures the--modifylinebreaks
flag of latexindent, defaultsfalse
Commands
latex.Build
: build current filelatex.ForwardSearch
: performs a forward search from the current filelatex.UpdateLanguageServer
: upgrade TexLab Server to latest version
License
MIT