Update vimtex plugin to add command for rendering.
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
return {
|
||||
'lervag/vimtex',
|
||||
lazy = false, -- we don't want to lazy load VimTeX
|
||||
-- tag = "v2.15", -- uncomment to pin to a specific release
|
||||
lazy = false,
|
||||
ft = { 'tex', 'latex', 'bib' },
|
||||
init = function()
|
||||
-- VimTeX configuration goes here, e.g.
|
||||
vim.g.vimtex_view_method = 'zathura'
|
||||
vim.g.vimtex_compiler_method = 'latexmk'
|
||||
end,
|
||||
keys = {
|
||||
{ '<leader>r', '<cmd>VimtexCompile<cr>', desc = 'Compile LaTeX and view PDF', ft = 'tex' },
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user