From 9d74dc3ac5a66d0fd34de125476a92ec0a77ca58 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Wed, 14 Aug 2024 06:42:07 +0800 Subject: [PATCH] vim-patch:dc831db: runtime(doc): add help tags for json + markdown global variables (#30037) I added help tags for them in the syntax.txt file since this is the only place they are mentioned. closes: vim/vim#15486 https://github.com/vim/vim/commit/dc831db6ea3b550e3acb60a0859fcd07fd3f86e6 Co-authored-by: JJCUBER <34446698+JJCUBER@users.noreply.github.com> --- runtime/doc/syntax.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index 5606348ee8..bb28898133 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -1685,7 +1685,8 @@ displayed line. The default value is 10. The disadvantage of using a larger number is that redrawing can become slow. -JSON *json.vim* *ft-json-syntax* +JSON *json.vim* *ft-json-syntax* *g:vim_json_conceal* + *g:vim_json_warnings* The json syntax file provides syntax highlighting with conceal support by default. To disable concealment: > @@ -1875,7 +1876,8 @@ $VIMRUNTIME/syntax/syntax.vim). mv_finance mv_logic mv_powseries -MARKDOWN *ft-markdown-syntax* +MARKDOWN *ft-markdown-syntax* *g:markdown_minlines* + *g:markdown_fenced_languages* *g:markdown_syntax_conceal* If you have long regions there might be wrong highlighting. At the cost of slowing down displaying, you can have the engine look further back to sync on