aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-03-11 06:41:53 +0800
committerGitHub <noreply@github.com>2024-03-11 06:41:53 +0800
commit47942db30780b22774e810e1d0ade96bb6ba2da4 (patch)
tree3b6bef4e887aac6e55f41bb2843b031e9f2b2970
parent92d4dbbd8cd330606d8a4e1ce1fc550eb6a70d9b (diff)
downloadrneovim-47942db30780b22774e810e1d0ade96bb6ba2da4.tar.gz
rneovim-47942db30780b22774e810e1d0ade96bb6ba2da4.tar.bz2
rneovim-47942db30780b22774e810e1d0ade96bb6ba2da4.zip
vim-patch:675cbfb47f03 (#27806)
runtime(doc): Update Markdown syntax, add missing configs fixes: vim/vim#14168 https://github.com/vim/vim/commit/675cbfb47f03c65b2a5c245b632bdd7a0bf10e4f Co-authored-by: Christian Brabandt <cb@256bit.org>
-rw-r--r--runtime/doc/syntax.txt11
1 files changed, 10 insertions, 1 deletions
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt
index c02752a2b7..4b99fbface 100644
--- a/runtime/doc/syntax.txt
+++ b/runtime/doc/syntax.txt
@@ -1764,10 +1764,19 @@ MARKDOWN *ft-markdown-syntax*
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
-the start of a region, for example 500 lines: >
+the start of a region, for example 500 lines (default is 50): >
:let g:markdown_minlines = 500
+If you want to enable fenced code block syntax highlighting in your markdown
+documents you can enable like this: >
+
+ :let g:markdown_fenced_languages = ['html', 'python', 'bash=sh']
+
+To disable markdown syntax concealing add the following to your vimrc: >
+
+ :let g:markdown_syntax_conceal = 0
+
MATHEMATICA *mma.vim* *ft-mma-syntax* *ft-mathematica-syntax*