summaryrefslogtreecommitdiff
path: root/runtime/syntax/arch.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-07-04 22:49:24 +0000
committerBram Moolenaar <Bram@vim.org>2005-07-04 22:49:24 +0000
commit0dc065ee7c3bd51e5df3926700e409ae74cdfecf (patch)
tree3e2f974603cbba12d3f1dcebf493e7ff2bf54d7f /runtime/syntax/arch.vim
parent7d1f5dbc0a254d7524b3f985f2440bf89e037355 (diff)
downloadvim-git-0dc065ee7c3bd51e5df3926700e409ae74cdfecf.tar.gz
updated for version 7.0102v7.0102
Diffstat (limited to 'runtime/syntax/arch.vim')
-rw-r--r--runtime/syntax/arch.vim20
1 files changed, 13 insertions, 7 deletions
diff --git a/runtime/syntax/arch.vim b/runtime/syntax/arch.vim
index 663cca84c..b9789d260 100644
--- a/runtime/syntax/arch.vim
+++ b/runtime/syntax/arch.vim
@@ -1,7 +1,7 @@
" Vim syntax file
" Language: GNU Arch inventory file
" Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
-" Latest Revision: 2005-06-29
+" Latest Revision: 2005-07-04
if exists("b:current_syntax")
finish
@@ -14,19 +14,25 @@ setlocal iskeyword=@,48-57,_,-
syn keyword archTodo TODO FIXME XXX NOTE
-syn region archComment display matchgroup=archComment
- \ start='^\%(#\|\s\)' end='$' contains=archTodo,@Spell
+syn region archComment display start='^\%(#\|\s\)' end='$'
+ \ contains=archTodo,@Spell
-syn keyword archKeyword implicit tagline explicit names
-syn keyword archKeyword untagged-source
-syn keyword archKeyword exclude junk backup precious unrecognized source
- \ skipwhite nextgroup=archRegex
+syn match argBegin display '^' nextgroup=archKeyword,archComment
+
+syn keyword archKeyword contained implicit tagline explicit names
+syn keyword archKeyword contained untagged-source
+ \ nextgroup=archTMethod skipwhite
+syn keyword archKeyword contained exclude junk backup precious unrecognized
+ \ source nextgroup=archRegex skipwhite
+
+syn keyword archTMethod contained source precious backup junk unrecognized
syn match archRegex contained '\s*\zs.*'
hi def link archTodo Todo
hi def link archComment Comment
hi def link archKeyword Keyword
+hi def link archTMethod Type
hi def link archRegex String
let b:current_syntax = "arch"