mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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:
parent
172cc23d88
commit
89df96b5cf
@ -1904,7 +1904,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
|
||||||
|
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user