summaryrefslogtreecommitdiff
path: root/colm.vim
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2012-05-23 13:52:19 +0000
committerAdrian Thurston <thurston@complang.org>2012-05-23 13:52:19 +0000
commitb628bd6037bea333bccadc0850707616a730275b (patch)
tree75795189a3707a4818471e626ce93a28941383b8 /colm.vim
parent77aac5d2c534e3206fd150b4e2b29688f6230ee1 (diff)
downloadcolm-b628bd6037bea333bccadc0850707616a730275b.tar.gz
added a syntax for specifying no ignores
Added the keyword 'ni', which can go ahead of or before a token pattern (literal or usual), which means no-ignore. Sets the noPreIgnore and noPostIgnore bits in the token, which affect the ignore scanning and attaching.
Diffstat (limited to 'colm.vim')
-rw-r--r--colm.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/colm.vim b/colm.vim
index d65ae0c2..d8eb44a6 100644
--- a/colm.vim
+++ b/colm.vim
@@ -64,7 +64,7 @@ syntax keyword typeKeywords
syntax keyword Keyword
\ reject else elsif return yield for while if
\ typeid in break
- \ new deref
+ \ new deref ni
syntax match tokenName "[a-zA-Z_][a-zA-Z_0-9]*" contained
syntax match varCapture "[a-zA-Z_][a-zA-Z_0-9]*:"