Mercurial > vim
diff runtime/doc/syntax.txt @ 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 | f493b5ee3bc5 |
children | bbe38557f34b |
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