runtime(mediawiki): fix typo in doc, test for b:did_ftplugin var Commit: https://github.com/vim/vim/commit/dd36d6cc7c39f3cfb29818f89f4f9dec2c7c22e4 Author: Stanislav Asunkin <1353637+stas...@users.noreply.github.com> Date: Wed Aug 14 14:43:30 2024 +0200
runtime(mediawiki): fix typo in doc, test for b:did_ftplugin var closes: https://github.com/vim/vim/issues/15479 Signed-off-by: Stanislav Asunkin <1353637+stas...@users.noreply.github.com> Signed-off-by: AvidSeeker <avidseek...@protonmail.com> Signed-off-by: Christian Brabandt <c...@256bit.org> diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index 8e33d0244..68ea21ea9 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -2376,7 +2376,7 @@ have the following in your .vimrc: > MEDIAWIKI *ft-mediawiki-syntax* -Be default, syntax highlighting includes basic HTML tags like style and +By default, syntax highlighting includes basic HTML tags like style and headers |html.vim|. For strict Mediawiki syntax highlighting: > let g:html_no_rendering = 1 diff --git a/runtime/ftplugin/mediawiki.vim b/runtime/ftplugin/mediawiki.vim index efd2ae5c9..461824610 100644 --- a/runtime/ftplugin/mediawiki.vim +++ b/runtime/ftplugin/mediawiki.vim @@ -8,7 +8,7 @@ if exists("b:did_ftplugin") finish endif -let g:did_ftplugin = 1 +let b:did_ftplugin = 1 " Many MediaWiki wikis prefer line breaks only at the end of paragraphs " (like in a text processor), which results in long, wrapping lines. -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/E1seDbg-000zS6-Io%40256bit.org.