1
0
Fork 0
mirror of https://github.com/vim/vim synced 2025-04-01 15:36:44 +02:00
vim/runtime/syntax/arch.vim

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
1.1 KiB
VimL
Raw Normal View History

2004-06-13 20:20:40 +00:00
" Vim syntax file
2017-03-05 17:04:09 +01:00
" Language: GNU Arch inventory file
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2007-06-17
2005-06-29 22:40:58 +00:00
if exists("b:current_syntax")
2004-06-13 20:20:40 +00:00
finish
endif
2005-06-29 22:40:58 +00:00
let s:cpo_save = &cpo
set cpo&vim
2008-06-24 21:16:56 +00:00
setlocal iskeyword+=-
2005-06-29 22:40:58 +00:00
syn keyword archTodo TODO FIXME XXX NOTE
2005-07-04 22:49:24 +00:00
syn region archComment display start='^\%(#\|\s\)' end='$'
\ contains=archTodo,@Spell
2005-06-29 22:40:58 +00:00
2007-05-10 17:15:45 +00:00
syn match archBegin display '^' nextgroup=archKeyword,archComment
2005-07-04 22:49:24 +00:00
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
2005-06-29 22:40:58 +00:00
syn match archRegex contained '\s*\zs.*'
hi def link archTodo Todo
hi def link archComment Comment
hi def link archKeyword Keyword
2005-07-04 22:49:24 +00:00
hi def link archTMethod Type
2005-06-29 22:40:58 +00:00
hi def link archRegex String
2004-06-13 20:20:40 +00:00
let b:current_syntax = "arch"
2005-06-29 22:40:58 +00:00
let &cpo = s:cpo_save
unlet s:cpo_save