Merge pull request 'update latex config to zathura' (#35) from push-ynxymvznltrq into main

Reviewed-on: #35
This commit is contained in:
Salar Rahmanian 2024-11-17 14:10:58 -08:00
commit 85d57c402a

View file

@ -4,12 +4,18 @@ return {
dependencies = { "lervag/vimtex" },
config = function()
-- vimtex
vim.g.vimtex_view_method = "skim"
vim.g.vimtex_view_method = "zathura"
vim.g.vimtex_compiler_method = "tectonic"
-- nvim-texlabconfig
local tex_preview_executable = "/Applications/Skim.app/Contents/SharedSupport/displayline"
local tex_preview_args = { "%l", "%p", "%f" }
local tex_preview_executable = "zathura"
local tex_preview_args = {
"--synctex-editor-command",
[[nvim-texlabconfig -file '%%%{input}' -line %%%{line} -server ]] .. vim.v.servername,
"--synctex-forward",
"%l:1:%f",
"%p",
}
local texlab_build_executable = "tectonic"
local texlab_build_args = {
"-X",