update latex config to zathura #35

Merged
softinio merged 1 commit from push-ynxymvznltrq into main 2024-11-17 14:10:59 -08:00

View file

@ -4,12 +4,18 @@ return {
dependencies = { "lervag/vimtex" }, dependencies = { "lervag/vimtex" },
config = function() config = function()
-- vimtex -- vimtex
vim.g.vimtex_view_method = "skim" vim.g.vimtex_view_method = "zathura"
vim.g.vimtex_compiler_method = "tectonic" vim.g.vimtex_compiler_method = "tectonic"
-- nvim-texlabconfig -- nvim-texlabconfig
local tex_preview_executable = "/Applications/Skim.app/Contents/SharedSupport/displayline" local tex_preview_executable = "zathura"
local tex_preview_args = { "%l", "%p", "%f" } 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_executable = "tectonic"
local texlab_build_args = { local texlab_build_args = {
"-X", "-X",