Skip to content

Instantly share code, notes, and snippets.

@ZwodahS
Created July 17, 2013 02:13
Show Gist options
  • Save ZwodahS/6017149 to your computer and use it in GitHub Desktop.
Save ZwodahS/6017149 to your computer and use it in GitHub Desktop.
" DO WHAT THE **** YOU WANT TO PUBLIC LICENSE
" Version 2, December 2004
"
" Copyright (C) 2013 ZwodahS(ericnjf@gmail.com)
" zwodahs.wordpress.com
"
" Everyone is permitted to copy and distribute verbatim or modified
" copies of this license document, and changing it is allowed as long
" as the name is changed.
"
" DO WHAT THE **** YOU WANT TO PUBLIC LICENSE
" TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
"
" 0. You just DO WHAT THE **** YOU WANT TO.
"
" This program is free software. It comes without any warranty, to
" the extent permitted by applicable law. You can redistribute it
" and/or modify it under the terms of the Do What The Fuck You Want
" To Public License, Version 2, as published by Sam Hocevar. See
" http://sam.zoy.org/wtfpl/COPYING for more details.
"
"
if exists("b:current_syntax")
finish
endif
" Save compatibility and force vim compatibility (copied from quicktask)
let s:cpo_save = &cpo
set cpo&vim
hi Do ctermfg=blue ctermbg=white cterm=bold
hi Done ctermfg=blue
hi Task ctermfg=green
hi Bullet cterm=bold
" ignore case for matching
syn case ignore
syn match category '^.*:\s*$'
syn match task '\s*\$.*$'
syn match important '^\s*+.*$'
syn match bullet '\s*#.*'
syn match done '.*\[[Dd]one\].*'
syn match do '.*\[[Dd]o\].*'
hi def link category Underlined
hi def link important String
hi def link bullet Bullet
hi def link done Done
hi def link do Do
hi def link task Task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment