My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
## this .rc is not meant for rcs in etc but those used in apps like wine
syntax "rc" "\.rc$"
color cyan start="\{" end="\}"
color brightgreen start="<" end=">"
color brightyellow "(\"(\\.|[^\"])*\"|[0-9])"
color green start="\/\*" end="\*\/"
color yellow "(#(define|include)|LANGUAGE|FONT)"

### all *rc files ( e.g. .bashrc, inputrc, xtermcontrol .... )
#syntax "rcfiles" "(\.|/|)rc$" "(\.|/|)control$"
syntax "rcfiles" "((.ba|ba|c|.c)sh|input|xinit|eix|(.w|w)minet)|gtk|rc$"
color red "'(\\.|[^'])*'"
color blue ""(\\.|[^\"])*""
color magenta "[A-Z0-9\_]+="
color magenta "\<(sudo)\>"
color cyan "\<(alias)\>"
color brightcyan "\<(export)\>"
color yellow "\<(shopt)\>"
color brightred "\<(umask)\>.*$"
color green "#.*$"

## rc...
syntax "rc2" "(wop|wget)rc$"
color cyan "\=.*$"
color brightgreen start="<" end=">"
color brightyellow "[0-9]"
icolor yellow "^[[:space:]]*[.0-9A-Z_]*[[:space:]]\="
color brightred "[[:space:]]off"
color brightgreen "[[:space:]]on"
color green "#.*$"

Change log

r2 by Lucractius on Oct 2, 2008   Diff
First Import of syntax files
Go to: 
Project members, sign in to write a code review

Older revisions

All revisions of this file

File info

Size: 987 bytes, 31 lines
Powered by Google Project Hosting