update latex config to zathura #35
1 changed files with 9 additions and 3 deletions
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue