[nvim] made vimtex use tectonic with entr
This commit is contained in:
parent
d831c21b46
commit
1270697cd6
1 changed files with 3 additions and 2 deletions
|
@ -199,7 +199,7 @@ return {
|
|||
vim.keymap.set("n", "<space>k", vim.lsp.buf.signature_help, bufopts)
|
||||
vim.keymap.set("n", "<space>D", vim.lsp.buf.type_definition, bufopts)
|
||||
vim.keymap.set("n", "<space>rn", rename_func, bufopts_expr)
|
||||
vim.keymap.set({"n","v"}, "<space>ca", vim.lsp.buf.code_action, bufopts)
|
||||
vim.keymap.set({ "n", "v" }, "<space>ca", vim.lsp.buf.code_action, bufopts)
|
||||
vim.keymap.set("n", "<space>ge", vim.diagnostic.goto_next, bufopts)
|
||||
vim.keymap.set("n", "<space>gE", vim.diagnostic.goto_prev, bufopts)
|
||||
vim.keymap.set("n", "<space>fo", function() conform.format({ lsp_fallback = true }) end, bufopts)
|
||||
|
@ -291,7 +291,8 @@ return {
|
|||
else
|
||||
vim.g.vimtex_view_method = 'zathura'
|
||||
end
|
||||
vim.g.vimtex_compiler_methor = 'pdflatex'
|
||||
vim.g.vimtex_compiler_method = 'generic'
|
||||
vim.g.vimtex_compiler_generic = { command = 'ls *.tex | entr -n -c tectonic /_ --synctex --keep-logs' }
|
||||
end,
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue