runtime(doc): add help tags for json + markdown global variables Commit: https://github.com/vim/vim/commit/dc831db6ea3b550e3acb60a0859fcd07fd3f86e6 Author: JJCUBER <34446698+jjcu...@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+jjcu...@users.noreply.github.com> Signed-off-by: Christian Brabandt <c...@256bit.org> diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index f1490c523..8e33d0244 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 5c44174cd..9cd6702c2 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* -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/E1sdzKG-00HCRA-Ti%40256bit.org.