aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2012-07-04 14:33:26 -0400
committerRyan Kavanagh <rak@debian.org>2012-07-04 14:33:26 -0400
commit1960c9f2d4f592e692ae13491c2ee7879fa87053 (patch)
tree33bc04892322b1abe969ccdf415e55b043b83048
parentRefreshed debian host ssh keys (diff)
Added ctype to beluga.vim
Diffstat (limited to '')
-rw-r--r--.vim/syntax/beluga.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/.vim/syntax/beluga.vim b/.vim/syntax/beluga.vim
index 3b63591..e12ba8d 100644
--- a/.vim/syntax/beluga.vim
+++ b/.vim/syntax/beluga.vim
@@ -2,7 +2,7 @@
" Language: bel
" Filenames: *.bel
" Maintainers: Vincent Aravantinos <vincent.aravantinos@gmail.com>
-" Last Change: 2010 Jun 9 - Initial version.
+" Last Change: 2012 Jun 28 - Added new syntax
" TODO see what the Twelf vim file does
" For version 5.x: Clear all syntax items
@@ -20,7 +20,7 @@ endif
syn match belComment containedin=ALL "%.*" extend
syn match belId contained "[[:lower:]][[:lower:][:digit:]']*"
-syn keyword belTermOp contained type
+syn keyword belTermOp contained "\(type\|ctype\|datatype\)"
syn match belTermOp contained "\(->\|<-\|\\\|\.\|_\|:\)"
syn region belTerm contained contains=@belTermClu matchgroup=belTermOp start="(" end=")"
syn region belTerm contained contains=belId,belColonType,@belTermClu matchgroup=belTermOp start="{" end="}"