changeset 35952:458a27d95895

runtime(doc): add help tags for json + markdown global variables Commit: https://github.com/vim/vim/commit/dc831db6ea3b550e3acb60a0859fcd07fd3f86e6 Author: JJCUBER <34446698+JJCUBER@users.noreply.github.com> Date: Tue Aug 13 23:42:36 2024 +0200 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 <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Tue, 13 Aug 2024 23:45:08 +0200
parents a6dcbdc01821
children 92d4bb6ad199
files runtime/doc/syntax.txt runtime/doc/tags
diffstat 2 files changed, 10 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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
 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 @@ 1, also in their .vimrc file (prior to s
   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
--- a/runtime/doc/tags
+++ b/runtime/doc/tags
@@ -7574,6 +7574,9 @@ g:html_use_encoding	syntax.txt	/*g:html_
 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: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*