coc-texlab


Ⅰ. 插件描述

TexLab extension for coc.nvim

Ⅱ. 基本信息

创建日期:  2019-07-08
使用用户:  1
Github星:  41
插件作者:  Heyward Fann

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'fannheyward/coc-texlab'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'fannheyward/coc-texlab'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'fannheyward/coc-texlab'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/fannheyward/coc-texlab

Ⅳ. 文档说明

# coc-texlab

fork of texlab-vscode, provides editing support for LaTeX documents, powered by the TexLab language server.

Install

:CocInstall coc-texlab

Requirements

More info in TexLab Docs

Configuration

  • latex.build.executable: path to a LaTeX build tool, defaults to latexmk
  • latex.build.args: additional arguments passed to build tool
  • latex.build.onSave: build after saving a file, defaults to false
  • latex.forwardSearch.executable: path to a PDF previewer that supports SyncTeX, defaults null
  • latex.forwardSearch.args: additional arguments passed to the previewer, defaults []
  • latex.lint.onSave: lint after saving a file, defaults to true
  • latex.lint.onChange: lint after changing a file, defaults to false

Commands

  • latex.Build: build current file
  • latex.BuildCancel: cancel all running builds
  • latex.ForwardSearch: performs a forward search from the current file
  • latex.UpdateLanguageServer: upgrade TexLab Server to latest version

License

MIT

添加新评论