]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doc): add help tags for json + markdown global variables
authorJJCUBER <34446698+JJCUBER@users.noreply.github.com>
Tue, 13 Aug 2024 21:42:36 +0000 (23:42 +0200)
committerChristian Brabandt <cb@256bit.org>
Tue, 13 Aug 2024 21:42:36 +0000 (23:42 +0200)
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>
runtime/doc/syntax.txt
runtime/doc/tags

index f1490c5237c85d9da10a89dacf14b22430fc92ca..8e33d0244e5859cbae428761da6402d1b92be982 100644 (file)
@@ -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
index 5c44174cd7f8f0d58b076ac52db3ff674cbc8351..9cd6702c2a61542776b3366676eaa2126986713e 100644 (file)
@@ -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*