texlab: switch pdflatex with xelatex

This commit is contained in:
Marco Thomas
2022-08-16 10:53:00 +02:00
parent 88b7e188e9
commit d76dd13f44
4 changed files with 17 additions and 6 deletions

View File

@@ -41,7 +41,7 @@ lsp.texlab.setup({
settings = {
texlab = {
build = {
args = { '-pdf', '-interaction=nonstopmode', '-synctex=1', '-shell-escape', '%f' },
args = { '-xelatex', '-interaction=nonstopmode', '-synctex=1', '-shell-escape', '%f' },
onSave = true,
}
}

View File

@@ -55,6 +55,7 @@ return require('packer').startup(function(use)
['V'] = 'VL',
[''] = "VB",
['s'] = "VB",
['c'] = "C",
}
-- actually load bar
@@ -185,6 +186,7 @@ return require('packer').startup(function(use)
})
-- LSP (install with `:LSPInstall`, inspect with `:LSPInfo`)
-- Config in lsp.lua
use("neovim/nvim-lspconfig") -- Easy to manage LSP servers (attach etc)
use("williamboman/nvim-lsp-installer") -- Easy to install LSP servers
use("simrat39/rust-tools.nvim") -- Cooler LSP stuff for Rust