From 1e5bc01171bfc53cee38b6823e14ffda807ccbc7 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Thu, 3 Jun 2021 11:07:33 +0200 Subject: feat(texlab): update options to 3.2.0 --- lua/lspconfig/texlab.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'lua') diff --git a/lua/lspconfig/texlab.lua b/lua/lspconfig/texlab.lua index c849ffe7..6f47ca0a 100644 --- a/lua/lspconfig/texlab.lua +++ b/lua/lspconfig/texlab.lua @@ -61,7 +61,8 @@ configs.texlab = { build = { executable = "latexmk"; args = {"-pdf", "-interaction=nonstopmode", "-synctex=1", "%f"}; - isContinuous = false; + onSave = false; + forwardSearchAfter = false; }; auxDirectory = '.'; forwardSearch = { @@ -73,6 +74,11 @@ configs.texlab = { onEdit = false; }; diagnosticsDelay = 300; + latexFormatter = 'latexindent'; + latexindent = { + ["local"] = nil; -- local is a reserved keyword + modifyLineBreaks = false; + }; bibtexFormatter = 'texlab'; formatterLineLength = 80; }; -- cgit v1.2.3-70-g09d2