0
0
mirror of https://github.com/vim/vim.git synced 2025-07-25 10:54:51 -04:00

runtime(mediawiki): fix typo in doc, test for b:did_ftplugin var

closes: #15479

Signed-off-by: Stanislav Asunkin <1353637+stasjok@users.noreply.github.com>
Signed-off-by: AvidSeeker <avidseeker7@protonmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Stanislav Asunkin 2024-08-14 14:43:30 +02:00 committed by Christian Brabandt
parent bbeb38db4e
commit dd36d6cc7c
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09
2 changed files with 2 additions and 2 deletions

View File

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

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.