Wikia

Vim Tips Wiki

Script:1787

1,623pages on
this wiki
Talk0

Use this page to discuss script 1787 wikipedia: syntax highlighting for MediaWiki articles

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on vim.org).
  • This page may be out of date: check the script's vim.org page above, and its release notes.

CommentsEdit

Hi, Matt C
There is a more recent version in github, including tables and other minor changes.
Additional to add in the option menu of gvim wiki

cat ~/.vim/synmenu.vim
an 50.150.450 &Syntax.WXYZ.Wiki :cal SetSyn("mediawiki")<CR>

--September 8, 2015

Is there a link? JohnBeckett (talk) 08:03, September 9, 2015 (UTC)

In general, only autocmds used to detect the filetype should be placed in ftdetect directory. All the filetype-specific settings and bindings should be placed under ftplugin. I see that upstream currently says what to put where correctly. But version 3 of the script has all that pasted together in ftdetect which results in those settings being always applied to the very first buffer opened, regardless of what does it contain. And only to the first one. — Nov 25, 2015.

Around Wikia's network

Random Wiki