vim/notreallybundles/vimkata/syntax/kata.vim @ 196cb78c5356

ack: smartcase by default, please
author Steve Losh <steve@stevelosh.com>
date Fri, 11 Jun 2010 16:07:36 -0400
parents 79b5e20cd96a
children (none)
" Kata syntax file
" Language:     VimKata
" Author:       Barry Arthur <barry.arthur@gmail.com> (based on Duane
"               Johnson's original practice.vim script).
" URL:          http://github.com/canadaduane/VimKata
" Licence:      GPL (http://www.gnu.org) + MIT (url?)
" Remarks:      Vim 6 or greater
" Limitations:  See 'Appendix E: Vim Syntax Highlighter' in the AsciiDoc 'User
"               Guide'.

if exists("b:current_syntax")
  finish
endif

syn clear
syn sync fromstart
syn sync linebreaks=1

syntax region KataPlainText start="^[a-zA-Z0-9]" end="\n"
syntax region KataAnswer start="^>" end="\n"
syntax region KataComment start="#" end="\n"

highlight link KataPlainText Function
highlight link KataAnswer Define
highlight link KataComment Comment

let b:current_syntax = "kata"

" vim: wrap et sw=2 sts=2: