Merge pull request 'update latex config to zathura' (#35) from push-ynxymvznltrq into main
Reviewed-on: #35
This commit is contained in:
commit
85d57c402a
1 changed files with 9 additions and 3 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue