move back to skim for latex preview #38

Merged
softinio merged 1 commit from push-xpqmnwpwqxox into main 2024-11-17 16:27:31 -08:00

View file

@ -4,24 +4,12 @@ return {
dependencies = { "lervag/vimtex" }, dependencies = { "lervag/vimtex" },
config = function() config = function()
-- vimtex -- vimtex
vim.g.vimtex_view_method = "sioyek" vim.g.vimtex_view_method = "skim"
vim.g.vimtex_compiler_method = "tectonic" vim.g.vimtex_compiler_method = "tectonic"
-- nvim-texlabconfig -- nvim-texlabconfig
local tex_preview_executable = "zathura" local tex_preview_executable = "skim"
local tex_preview_args = { local tex_preview_args = { "%l", "%p", "%f" }
"--reuse-window",
"--execute-command",
"toggle_synctex", -- Open Sioyek in synctex mode.
"--inverse-search",
[[/Users/salar/.local/share/nvim/lazy/nvim-texl/nvim-texlabconfig -file %%%1 -line %%%2 -server ]]
.. vim.v.servername,
"--forward-search-file",
"%f",
"--forward-search-line",
"%l",
"%p",
}
local texlab_build_executable = "tectonic" local texlab_build_executable = "tectonic"
local texlab_build_args = { local texlab_build_args = {
"-X", "-X",