1
0
forked from aniani/vim

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
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* 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: > headers |html.vim|. For strict Mediawiki syntax highlighting: >
let g:html_no_rendering = 1 let g:html_no_rendering = 1

View File

@@ -8,7 +8,7 @@
if exists("b:did_ftplugin") if exists("b:did_ftplugin")
finish finish
endif endif
let g:did_ftplugin = 1 let b:did_ftplugin = 1
" Many MediaWiki wikis prefer line breaks only at the end of paragraphs " Many MediaWiki wikis prefer line breaks only at the end of paragraphs
" (like in a text processor), which results in long, wrapping lines. " (like in a text processor), which results in long, wrapping lines.