This commit is contained in:
Marco Thomas
2023-06-01 08:19:11 +02:00
parent 3d0d95a4bb
commit 1e9785e8e2
6 changed files with 15 additions and 9 deletions

View File

@@ -98,9 +98,9 @@ require('Comment').setup({
local cmp = require 'cmp'
cmp.setup({
mapping = {
["<C-k>"] = cmp.mapping.select_prev_item(),
["<C-j>"] = cmp.mapping.select_next_item(),
["<C-l>"] = cmp.mapping.confirm({
["<C-n>"] = cmp.mapping.select_prev_item(),
["<C-n>"] = cmp.mapping.select_next_item(),
["<Tab>"] = cmp.mapping.confirm({
behavior = cmp.ConfirmBehavior.Insert,
select = true,
}),

View File

@@ -48,7 +48,7 @@ lsp.texlab.setup({
texlab = {
build = {
executable = 'latexmk',
args = { '-xelatex', '-interaction=nonstopmode', '-synctex=1', '-shell-escape', '%f' },
args = { '-xelatex', '-interaction=nonstopmode', '-synctex=1', '-shell-escape', 'main.tex' },
onSave = true,
}
}