Mercurial > vim
changeset 35508:22d52fec43fa
runtime(doc): rename variable for pandoc markdown support
Commit: https://github.com/vim/vim/commit/2606e7718c49fc8221dfff21b36eff632ef668a0
Author: Christian Brabandt <cb@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 <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 04 Jul 2024 11:30:06 +0200 |
parents | 1a7250350167 |
children | 0c191d9c6206 |
files | runtime/doc/syntax.txt runtime/doc/tags |
diffstat | 2 files changed, 5 insertions(+), 4 deletions(-) [+] |
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 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: > - - :let g:markdown_md = 'pandoc' +To do so, set the *g:filetype_md* var: > + + :let g:filetype_md = 'pandoc' The pandoc syntax plugin uses |conceal| for pretty highlighting. Default is 1 >
--- a/runtime/doc/tags +++ b/runtime/doc/tags @@ -7507,6 +7507,7 @@ g:decada.Unit_Name() ft_ada.txt /*g:deca 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*