]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(context): fix issue with SyncTeX and update command
authorLifepillar <lifepillar@lifepillar.me>
Wed, 4 Feb 2026 16:31:05 +0000 (16:31 +0000)
committerChristian Brabandt <cb@256bit.org>
Wed, 4 Feb 2026 16:31:05 +0000 (16:31 +0000)
commitbf18b5eb7b8775f5dce13060f5cf2cfcf4e7f20c
tree848fc2fc01d41b3fc42400642940e7610ea9d14e
parent03b42b292614faaee42984d5bde1dc6f71e55b73
runtime(context): fix issue with SyncTeX and update command

Remove `--nonstopmode` because (a) ConTeXt always stops anyway, and (b)
`--nonstopmode` disables SyncTeX unconditionally. Add `--paranoid`,
which prevents the command to descend to `..` and `../..`.

Pass the typesetting command only the name of the input file rather than
its full path, as that is more compatible with ConTeXt's syncing
mechanism.

closes: #19323

Signed-off-by: Lifepillar <lifepillar@lifepillar.me>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/autoload/context.vim
runtime/autoload/typeset.vim