Skip to content

MediaWiki syntax highlighting for Kakoune

License

Notifications You must be signed in to change notification settings

Ordoviz/mediawiki.kak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mediawiki.kak

This script provides syntax highlighting for MediaWiki markup in Kakoune. MediaWiki is free wiki software used on Wikipedia and Fandom among others.

screenshot

Installation

Download mediawiki.kak and source it or put it in your autoload directory, where it will be sourced automatically.

Arch Linux users can install the kak-mediawiki-git AUR package.

Usage

set buffer filetype mediawiki

If you do not want to run the above command each time you open a MediaWiki file, put the following in your kakrc and add the .wiki extension to your filenames:

hook global BufCreate .*\.wiki %{
    set-option buffer filetype mediawiki
}

About

MediaWiki syntax highlighting for Kakoune

Topics

Resources

License

Stars

Watchers

Forks