1
0
Fork 0
mirror of https://github.com/vim/vim synced 2025-03-21 17:25:11 +01:00
vim/runtime/syntax/modconf.vim

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

45 lines
1.4 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: modules.conf(5) configuration file
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2007-10-25
2004-06-13 20:20:40 +00:00
2005-06-29 22:40:58 +00:00
if exists("b:current_syntax")
2004-06-13 20:20:40 +00:00
finish
endif
2008-06-24 22:58:06 +00:00
setlocal iskeyword+=-
2004-06-13 20:20:40 +00:00
2005-06-29 22:40:58 +00:00
let s:cpo_save = &cpo
set cpo&vim
2004-06-13 20:20:40 +00:00
2005-06-29 22:40:58 +00:00
syn keyword modconfTodo FIXME TODO XXX NOTE
2004-06-13 20:20:40 +00:00
2005-06-29 22:40:58 +00:00
syn region modconfComment start='#' skip='\\$' end='$'
\ contains=modconfTodo,@Spell
2004-06-13 20:20:40 +00:00
2005-06-29 22:40:58 +00:00
syn keyword modconfConditional if else elseif endif
2004-06-13 20:20:40 +00:00
2005-06-29 22:40:58 +00:00
syn keyword modconfPreProc alias define include keep prune
\ post-install post-remove pre-install
2008-08-06 17:06:04 +00:00
\ pre-remove persistdir blacklist
2004-06-13 20:20:40 +00:00
2005-06-29 22:40:58 +00:00
syn keyword modconfKeyword add above below install options probe probeall
\ remove
2004-06-13 20:20:40 +00:00
2005-06-29 22:40:58 +00:00
syn keyword modconfIdentifier depfile insmod_opt path generic_stringfile
\ pcimapfile isapnpmapfile usbmapfile
\ parportmapfile ieee1394mapfile pnpbiosmapfile
syn match modconfIdentifier 'path\[[^]]\+\]'
2004-06-13 20:20:40 +00:00
2005-06-29 22:40:58 +00:00
hi def link modconfTodo Todo
hi def link modconfComment Comment
hi def link modconfConditional Conditional
hi def link modconfPreProc PreProc
hi def link modconfKeyword Keyword
hi def link modconfIdentifier Identifier
2004-06-13 20:20:40 +00:00
let b:current_syntax = "modconf"
2005-06-29 22:40:58 +00:00
let &cpo = s:cpo_save
unlet s:cpo_save