vim-patch:dd36d6c: runtime(mediawiki): fix typo in doc, test for b:did_ftplugin var

closes: vim/vim#15479

dd36d6cc7c

Co-authored-by: Stanislav Asunkin <1353637+stasjok@users.noreply.github.com>
This commit is contained in:
Christian Clason 2024-08-17 11:33:10 +02:00
parent 172cc23d88
commit 89df96b5cf
2 changed files with 2 additions and 2 deletions

View File

@ -1904,7 +1904,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

View File

@ -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.