feat: working latex setup
This commit is contained in:
parent
6dd9ebbb6e
commit
bea8b9131c
4 changed files with 8 additions and 2 deletions
dotfiles/neovim/lua/my/plugins
|
@ -10,7 +10,8 @@ local bindings = {
|
|||
live_grep = "<c-F>",
|
||||
|
||||
-- See diagnostics with space + d
|
||||
diagnostics = "<space>d",
|
||||
lsp_document_diagnostics = "<space>d",
|
||||
lsp_workspace_diagnostics = "<space>wd",
|
||||
|
||||
-- Open a list with all the pickers
|
||||
builtin = "<space>t",
|
||||
|
|
|
@ -5,6 +5,8 @@ local M = {}
|
|||
function M.setup()
|
||||
-- Viewer method
|
||||
global("vimtex_view_method", "zathura")
|
||||
global("Tex_DefaultTargetFormat", "pdf")
|
||||
global("vimtex_compiler_latexmk", {options = {"-pdf", "-shell-escape", "-verbose", "-file-line-error", "-synctex=1", "-interaction=nonstopmode"}})
|
||||
end
|
||||
|
||||
return M
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue