Mercurial > hg > RemoteEditor > vim7
comparison runtime/syntax/rnc.vim @ 34:e170173ecb68 current-release
before ack base protocol.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 26 Nov 2008 15:02:10 +0900 |
parents | 76efa0be13f1 |
children |
comparison
equal
deleted
inserted
replaced
33:7d0d8b831f5a | 34:e170173ecb68 |
---|---|
1 " Vim syntax file | 1 " Vim syntax file |
2 " Language: Relax NG compact syntax | 2 " Language: Relax NG compact syntax |
3 " Maintainer: Nikolai Weibull <now@bitwi.se> | 3 " Maintainer: Nikolai Weibull <now@bitwi.se> |
4 " Latest Revision: 2006-04-19 | 4 " Latest Revision: 2007-06-17 |
5 | 5 |
6 if exists("b:current_syntax") | 6 if exists("b:current_syntax") |
7 finish | 7 finish |
8 endif | 8 endif |
9 | 9 |
10 let s:cpo_save = &cpo | 10 let s:cpo_save = &cpo |
11 set cpo&vim | 11 set cpo&vim |
12 | 12 |
13 setlocal iskeyword=@,48-57,_,-,. | 13 setlocal iskeyword+=-,. |
14 | 14 |
15 syn keyword rncTodo contained TODO FIXME XXX NOTE | 15 syn keyword rncTodo contained TODO FIXME XXX NOTE |
16 | 16 |
17 syn region rncComment display oneline start='^\s*#' end='$' | 17 syn region rncComment display oneline start='^\s*#' end='$' |
18 \ contains=rncTodo,@Spell | 18 \ contains=rncTodo,@Spell |