From b6747766eff5bd4c1b931c806a286c1a7d171945 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Sun, 16 May 2021 23:11:57 +0200 Subject: update texlab options to v3.0.0 --- lua/lspconfig/texlab.lua | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'lua') diff --git a/lua/lspconfig/texlab.lua b/lua/lspconfig/texlab.lua index 573bcc2d..e0b9f04f 100644 --- a/lua/lspconfig/texlab.lua +++ b/lua/lspconfig/texlab.lua @@ -56,25 +56,25 @@ configs.texlab = { return util.path.dirname(filename) end; settings = { - latex = { + texlab = { + rootDirectory = nil; build = { - args = {"-pdf", "-interaction=nonstopmode", "-synctex=1", "%f"}; executable = "latexmk"; - onSave = false; + args = {"-pdf", "-interaction=nonstopmode", "-synctex=1", "%f"}; + isContinuous = false; }; + auxDirectory = '.'; forwardSearch = { - args = {}; executable = nil; - onSave = false; - }; - lint = { - onChange = false; + args = {}; }; - }; - bibtex = { - formatting = { - lineLength = 120 + chktex = { + onOpenAndSave = false; + onEdit = false; }; + diagnosticsDelay = 300; + bibtexFormatter = 'texlab'; + formatterLineLength = 80; }; }; }; @@ -94,11 +94,11 @@ configs.texlab = { }; docs = { description = [[ -https://texlab.netlify.com/ +https://github.com/latex-lsp/texlab A completion engine built from scratch for (La)TeX. -See https://texlab.netlify.com/docs/reference/configuration for configuration options. +See https://github.com/latex-lsp/texlab/docs/options.md for configuration options. ]]; default_config = { root_dir = "vim's starting directory"; -- cgit v1.3.1