From dc831db6ea3b550e3acb60a0859fcd07fd3f86e6 Mon Sep 17 00:00:00 2001 From: JJCUBER <34446698+JJCUBER@users.noreply.github.com> Date: Tue, 13 Aug 2024 23:42:36 +0200 Subject: [PATCH] runtime(doc): add help tags for json + markdown global variables I added help tags for them in the syntax.txt file since this is the only place they are mentioned. closes: #15486 Signed-off-by: JJCUBER <34446698+JJCUBER@users.noreply.github.com> Signed-off-by: Christian Brabandt --- runtime/doc/syntax.txt | 8 +++++--- runtime/doc/tags | 5 +++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index f1490c5237..8e33d0244e 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -1,4 +1,4 @@ -*syntax.txt* For Vim version 9.1. Last change: 2024 Aug 03 +*syntax.txt* For Vim version 9.1. Last change: 2024 Aug 13 VIM REFERENCE MANUAL by Bram Moolenaar @@ -2157,7 +2157,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: > @@ -2347,7 +2348,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 diff --git a/runtime/doc/tags b/runtime/doc/tags index 5c44174cd7..9cd6702c2a 100644 --- a/runtime/doc/tags +++ b/runtime/doc/tags @@ -7574,6 +7574,9 @@ g:html_use_encoding syntax.txt /*g:html_use_encoding* g:html_use_input_for_pc syntax.txt /*g:html_use_input_for_pc* g:html_use_xhtml syntax.txt /*g:html_use_xhtml* g:html_whole_filler syntax.txt /*g:html_whole_filler* +g:markdown_fenced_languages syntax.txt /*g:markdown_fenced_languages* +g:markdown_minlines syntax.txt /*g:markdown_minlines* +g:markdown_syntax_conceal syntax.txt /*g:markdown_syntax_conceal* g:netrw_altfile pi_netrw.txt /*g:netrw_altfile* g:netrw_alto pi_netrw.txt /*g:netrw_alto* g:netrw_altv pi_netrw.txt /*g:netrw_altv* @@ -7734,6 +7737,8 @@ g:typst_embedded_languages syntax.txt /*g:typst_embedded_languages* g:var eval.txt /*g:var* g:vim_indent indent.txt /*g:vim_indent* g:vim_indent_cont indent.txt /*g:vim_indent_cont* +g:vim_json_conceal syntax.txt /*g:vim_json_conceal* +g:vim_json_warnings syntax.txt /*g:vim_json_warnings* g:vimball_home pi_vimball.txt /*g:vimball_home* g:vimball_mkdir pi_vimball.txt /*g:vimball_mkdir* g:vimsyn_comment_strings syntax.txt /*g:vimsyn_comment_strings*