aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/texlab.lua
diff options
context:
space:
mode:
authorChristian Clason <christian.clason@uni-due.de>2021-05-16 23:11:57 +0200
committerChristian Clason <christian.clason@uni-due.de>2021-05-16 23:11:57 +0200
commitb6747766eff5bd4c1b931c806a286c1a7d171945 (patch)
tree164d1ce3eaf319047d8dbceeaf7acaf00b3bb261 /lua/lspconfig/texlab.lua
parent[docgen] Update CONFIG.md (diff)
downloadnvim-lspconfig-b6747766eff5bd4c1b931c806a286c1a7d171945.tar
nvim-lspconfig-b6747766eff5bd4c1b931c806a286c1a7d171945.tar.gz
nvim-lspconfig-b6747766eff5bd4c1b931c806a286c1a7d171945.tar.bz2
nvim-lspconfig-b6747766eff5bd4c1b931c806a286c1a7d171945.tar.lz
nvim-lspconfig-b6747766eff5bd4c1b931c806a286c1a7d171945.tar.xz
nvim-lspconfig-b6747766eff5bd4c1b931c806a286c1a7d171945.tar.zst
nvim-lspconfig-b6747766eff5bd4c1b931c806a286c1a7d171945.zip
update texlab options to v3.0.0
Diffstat (limited to 'lua/lspconfig/texlab.lua')
-rw-r--r--lua/lspconfig/texlab.lua28
1 files changed, 14 insertions, 14 deletions
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";