Commit: runtime(doc): rename variable for pandoc markdown support

3 views
Skip to first unread message

Christian Brabandt

unread,
Jul 4, 2024, 5:30:14 AM7/4/24
to vim...@googlegroups.com
runtime(doc): rename variable for pandoc markdown support

Commit: https://github.com/vim/vim/commit/2606e7718c49fc8221dfff21b36eff632ef668a0
Author: Christian Brabandt <c...@256bit.org>
Date: Thu Jul 4 11:23:51 2024 +0200

runtime(doc): rename variable for pandoc markdown support

fixes: https://github.com/vim/vim/issues/15141

Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt
index 57db7cbfe..ee8d689e9 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 Jun 22
+*syntax.txt* For Vim version 9.1. Last change: 2024 Jul 03


VIM REFERENCE MANUAL by Bram Moolenaar
@@ -2518,9 +2518,9 @@ PANDOC *ft-pandoc-syntax*

By default, markdown files will be detected as filetype "markdown".
Alternatively, you may want them to be detected as filetype "pandoc" instead.
-To do so, set the following: >
+To do so, set the *g:filetype_md* var: >

- :let g:markdown_md = 'pandoc'
+ :let g:filetype_md = 'pandoc'

The pandoc syntax plugin uses |conceal| for pretty highlighting. Default is 1 >

diff --git a/runtime/doc/tags b/runtime/doc/tags
index 46f15abef..d2c1523bb 100644
--- a/runtime/doc/tags
+++ b/runtime/doc/tags
@@ -7507,6 +7507,7 @@ g:decada.Unit_Name() ft_ada.txt /*g:decada.Unit_Name()*
g:do_no_lazyload_menus gui.txt /*g:do_no_lazyload_menus*
g:filetype_csh syntax.txt /*g:filetype_csh*
g:filetype_haredoc ft_hare.txt /*g:filetype_haredoc*
+g:filetype_md syntax.txt /*g:filetype_md*
g:filetype_r syntax.txt /*g:filetype_r*
g:ftplugin_rust_source_path ft_rust.txt /*g:ftplugin_rust_source_path*
g:gnat ft_ada.txt /*g:gnat*
Reply all
Reply to author
Forward
0 new messages