aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/lspconfig/texlab.lua8
1 files changed, 7 insertions, 1 deletions
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;
};