mirror of
https://github.com/kristoferssolo/SoloVim.git
synced 2025-10-21 20:10:41 +00:00
33 lines
617 B
Lua
33 lines
617 B
Lua
local M = {}
|
|
|
|
M.setup = function(lsp, capabilities)
|
|
lsp.texlab.setup({
|
|
capabilities = capabilities,
|
|
texlab = {
|
|
auxDirectory = ".",
|
|
bibtexFormatter = "texlab",
|
|
build = {
|
|
args = { "-pdf", "-interaction=nonstopmode", "-synctex=1", "%f" },
|
|
executable = "xelatex",
|
|
forwardSearchAfter = false,
|
|
onSave = false,
|
|
},
|
|
chktex = {
|
|
onEdit = false,
|
|
onOpenAndSave = false,
|
|
},
|
|
diagnosticsDelay = 0,
|
|
formatterLineLength = 120,
|
|
forwardSearch = {
|
|
args = {},
|
|
},
|
|
latexFormatter = "latexindent",
|
|
latexindent = {
|
|
modifyLineBreaks = false,
|
|
},
|
|
},
|
|
})
|
|
end
|
|
|
|
return M
|