From c62f8538a6ef747cc1e7cfb9440f1a60cb35eaa9 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sat, 4 Apr 2026 20:50:16 +0800 Subject: [PATCH] vim-patch:5943c57: runtime(zathurarc): Update page-padding, wrap the zathurarcOption keywords (#38759) page-padding was split in page-v-padding and page-h-padding closes: vim/vim#19899 https://github.com/vim/vim/commit/5943c57173e78ce5b5d82d3e908542b010a31134 Co-authored-by: Carlo Klapproth <6682561+elcarlosIII@users.noreply.github.com> --- runtime/syntax/zathurarc.vim | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/runtime/syntax/zathurarc.vim b/runtime/syntax/zathurarc.vim index 32997c2d2d..3e35522e96 100644 --- a/runtime/syntax/zathurarc.vim +++ b/runtime/syntax/zathurarc.vim @@ -4,6 +4,7 @@ " Documentation: https://pwmt.org/projects/zathura/documentation/ " Upstream: https://github.com/Freed-Wu/zathurarc.vim " Latest Revision: 2024-09-16 +" 2026 Apr 04 by Vim project: add page-v-padding and page-h-padding if exists('b:current_syntax') finish @@ -22,7 +23,33 @@ syntax region zathurarcString start=`'` skip=`\\'` end=`'` syntax keyword zathurarcMode normal fullscreen presentation index syntax keyword zathurarcBoolean true false syntax keyword zathurarcCommand include map set unmap -syntax keyword zathurarcOption abort-clear-search adjust-open advance-pages-per-row completion-bg completion-fg completion-group-bg completion-group-fg completion-highlight-bg completion-highlight-fg continuous-hist-save database dbus-raise-window dbus-service default-bg default-fg double-click-follow exec-command filemonitor first-page-column font guioptions highlight-active-color highlight-color highlight-fg highlight-transparency incremental-search index-active-bg index-active-fg index-bg index-fg inputbar-bg inputbar-fg link-hadjust link-zoom n-completion-items notification-bg notification-error-bg notification-error-fg notification-fg notification-warning-bg notification-warning-fg page-cache-size page-padding page-right-to-left page-thumbnail-size pages-per-row recolor recolor-darkcolor recolor-keephue recolor-lightcolor recolor-reverse-video render-loading render-loading-bg render-loading-fg sandbox scroll-full-overlap scroll-hstep scroll-page-aware scroll-step scroll-wrap search-hadjust selection-clipboard selection-notification show-directories show-hidden show-recent statusbar-basename statusbar-bg statusbar-fg statusbar-h-padding statusbar-home-tilde statusbar-page-percent statusbar-v-padding synctex synctex-editor-command vertical-center window-height window-icon window-icon-document window-title-basename window-title-home-tilde window-title-page window-width zoom-center zoom-max zoom-min zoom-step +syntax keyword zathurarcOption abort-clear-search adjust-open advance-pages-per-row +syntax keyword zathurarcOption completion-bg completion-fg completion-group-bg +syntax keyword zathurarcOption completion-group-fg completion-highlight-bg +syntax keyword zathurarcOption completion-highlight-fg continuous-hist-save database +syntax keyword zathurarcOption dbus-raise-window dbus-service default-bg default-fg +syntax keyword zathurarcOption double-click-follow exec-command filemonitor +syntax keyword zathurarcOption first-page-column font guioptions highlight-active-color +syntax keyword zathurarcOption highlight-color highlight-fg highlight-transparency +syntax keyword zathurarcOption incremental-search index-active-bg index-active-fg index-bg +syntax keyword zathurarcOption index-fg inputbar-bg inputbar-fg link-hadjust link-zoom +syntax keyword zathurarcOption n-completion-items notification-bg notification-error-bg +syntax keyword zathurarcOption notification-error-fg notification-fg +syntax keyword zathurarcOption notification-warning-bg notification-warning-fg +syntax keyword zathurarcOption page-cache-size page-h-padding page-v-padding +syntax keyword zathurarcOption page-right-to-left page-thumbnail-size pages-per-row recolor +syntax keyword zathurarcOption recolor-darkcolor recolor-keephue recolor-lightcolor +syntax keyword zathurarcOption recolor-reverse-video render-loading render-loading-bg +syntax keyword zathurarcOption render-loading-fg sandbox scroll-full-overlap scroll-hstep +syntax keyword zathurarcOption scroll-page-aware scroll-step scroll-wrap search-hadjust +syntax keyword zathurarcOption selection-clipboard selection-notification show-directories +syntax keyword zathurarcOption show-hidden show-recent statusbar-basename statusbar-bg +syntax keyword zathurarcOption statusbar-fg statusbar-h-padding statusbar-home-tilde +syntax keyword zathurarcOption statusbar-page-percent statusbar-v-padding synctex +syntax keyword zathurarcOption synctex-editor-command vertical-center window-height +syntax keyword zathurarcOption window-icon window-icon-document window-title-basename +syntax keyword zathurarcOption window-title-home-tilde window-title-page window-width +syntax keyword zathurarcOption zoom-center zoom-max zoom-min zoom-step highlight default link zathurarcComment Comment highlight default link zathurarcNumber Number