summaryrefslogtreecommitdiff
path: root/colm.vim
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@colm.net>2019-11-29 09:00:23 -0800
committerAdrian Thurston <thurston@colm.net>2019-11-29 09:00:23 -0800
commitaa76fc8781d820ec6bf42b92dd7a35f65e2e4612 (patch)
treef7b06a37eb4b38e1dbf45e36a6e3a727797191dd /colm.vim
parent5bc254cfc898b55154c10b8172aa85de0961e047 (diff)
downloadcolm-aa76fc8781d820ec6bf42b92dd7a35f65e2e4612.tar.gz
allow use of token keyword for literal defs
refs #79
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 d05aacbb..94bbe321 100644
--- a/colm.vim
+++ b/colm.vim
@@ -74,7 +74,7 @@ syntax match qual "[a-zA-Z_][a-zA-Z_0-9]*::"
syntax region defTypes matchgroup=defKeywords
\ start="\<rl\>" start="\<def\>" start="\<token\>" start="\<ignore\>"
- \ matchgroup=Function end="[a-zA-Z_][a-zA-Z0-9_]*" end="/"me=e-1
+ \ matchgroup=Function end="[a-zA-Z_][a-zA-Z0-9_]*" end="/"me=e-1 end="`"me=e-1
syntax region redTypes matchgroup=redBlock
\ start="\<reduction\>"