diff --git a/.config/nvim/lua/plugins/lsp.lua b/.config/nvim/lua/plugins/lsp.lua index 04fa069..5202aaf 100644 --- a/.config/nvim/lua/plugins/lsp.lua +++ b/.config/nvim/lua/plugins/lsp.lua @@ -199,7 +199,7 @@ return { vim.keymap.set("n", "k", vim.lsp.buf.signature_help, bufopts) vim.keymap.set("n", "D", vim.lsp.buf.type_definition, bufopts) vim.keymap.set("n", "rn", rename_func, bufopts_expr) - vim.keymap.set({"n","v"}, "ca", vim.lsp.buf.code_action, bufopts) + vim.keymap.set({ "n", "v" }, "ca", vim.lsp.buf.code_action, bufopts) vim.keymap.set("n", "ge", vim.diagnostic.goto_next, bufopts) vim.keymap.set("n", "gE", vim.diagnostic.goto_prev, bufopts) vim.keymap.set("n", "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, }, {