diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-08-14 06:42:07 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-13 22:42:07 +0000 |
commit | 9d74dc3ac5a66d0fd34de125476a92ec0a77ca58 (patch) | |
tree | a0b70ae07d3a9bb90bff050348b52412f480dccc | |
parent | ab561302a3b4dbb161aa6ef3ea39a6d1410a72fe (diff) | |
download | rneovim-9d74dc3ac5a66d0fd34de125476a92ec0a77ca58.tar.gz rneovim-9d74dc3ac5a66d0fd34de125476a92ec0a77ca58.tar.bz2 rneovim-9d74dc3ac5a66d0fd34de125476a92ec0a77ca58.zip |
vim-patch:dc831db: runtime(doc): add help tags for json + markdown global variables (#30037)
I added help tags for them in the syntax.txt file since this is the only
place they are mentioned.
closes: vim/vim#15486
https://github.com/vim/vim/commit/dc831db6ea3b550e3acb60a0859fcd07fd3f86e6
Co-authored-by: JJCUBER <34446698+JJCUBER@users.noreply.github.com>
-rw-r--r-- | runtime/doc/syntax.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index 5606348ee8..bb28898133 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -1685,7 +1685,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: > @@ -1875,7 +1876,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 |