-
Notifications
You must be signed in to change notification settings - Fork 0
/
.shl.style
98 lines (97 loc) · 5.34 KB
/
.shl.style
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
// E89M3pQc:~/.shl.style crE8d by: PipStuart <Pip@CPAN.Org> as a source-highlight shl style file meant to mimic my familiar vim syntax highlighting colors;
// This file is adapted mainly from /usr/share/source-highlight/(default|esc).style files && gets close to vim except for sub names, regexes,&& filehandles;
// 2du:run `loc8r 'source-highlight/.*\.style$'` && autom8 inclusion of all fields defined in those that aren't yet in here && format terse output of diffz;
// Vers='0.0';d8VS='N8BM3RGB';Auth='PipStuart <Pip@CPAN.Org>'; // also should popul8 ~/.Hrc shl section with any upd8s made here 1st so new a8::sgN rEgNr8z;
//color "white" ; // the background color for documents
bgcolor black ; // the background color for documents
normal white ; // mentioned as useless in esc256.style
context gray ; // the color for context lines (when specified with line ranges)
//yword blue b ; // for language keywords
keyword yellow b ; // for language keywords
//pe darkgreen ; // for basic types
type cyan b ; // for basic types
usertype teal ; // for user defined types
//ring red f ; // for strings and chars; Note: f flag probably fAint `S :A` but not sure what 'noref' is;
string purple b ; // for strings and chars
//gexp orange f ; // for strings and chars
regexp red b ; // for strings and chars
specialchar pink f ; // for special chars, e.g., \n, \t, \\
//mment brown i, noref; // for comments
comment blue i, b ; // for comments; shl does detect #! line as different from other comments when not noref (like vim making it blue b);
number purple b ; // for literal numbers
//eproc teal b ; // from style3.style
preproc darkblue b ; // for preproc directives (e.g. #include, import)
//mbol darkred ; // for symbols (e.g. <, >, +)
symbol brightgreen b ; // for symbols (e.g. <, >, +)
//nction black b ; // for function calls and declarations
function cyan b ; // for function calls and declarations
//racket red ; // for block brackets (e.g. {, })
cbracket brightgreen b ; // for block brackets (e.g. {, })
todo bg:cyan b ; // for TODO and FIXME
code bg:brightgreen b ; // for code snippets
predef_var darkblue ; //Predefined variables and functions (for instance glsl)
predef_func darkblue b ;
//assname teal ; // for class names, e.g., in Java and C++ // for OOP
classname teal b ; // for class names, e.g., in Java and C++
//neno orange b ; // from style3.style
linenum black f ; // line numbers
url blue u, f ; // Internet related
date blue b ; // other elements for ChangeLog and Log files
time, file darkblue b ;
ip, name darkgreen ;
//riable darkgreen ; // for Prolog, Perl...
variable cyan b ;
italics darkgreen i ; // explicit for Latex
bold darkgreen b ;
underline darkgreen u ;
fixed green f ;
argument darkgreen ;
optionalargument purple ;
math orange ;
bibtex blue ;
oldfile orange ; // for diffs
newfile darkgreen ;
difflines blue ;
selector purple ; // for css
property blue ;
value darkgreen i ;
atom orange ; // for oz
meta i ;
path orange ; // for file system
label teal b ; // for C (or other language) labels
error red b ; // for errors
warning darkgreen ;
// esc256.style // for feature (Cucumber) files
cuketag green ;
gherken blue ;
given red ;
when cyan ;
then yellow ;
and_but pink ;
table gray ;
// esc.style
//keyword blue b ;
//type, classname darkgreen ;
//string red ;
//regexp orange ;
//specialchar pink ;
//comment cyan i ;
//number purple ;
//preproc darkblue b ;
//symbol darkred ;
//function black b ;
//cbracket red ;
//variable darkgreen ;
//linenum yellow ; // line numbers
//date blue ; // other elements for ChangeLog and Log files
//time darkblue ;
//ip darkgreen ;
//file darkblue ;
//name darkgreen ;
//url blue u ; // Internet related
//oldfile orange ; // for diffs
//newfile darkgreen ;
//difflines blue ;
//selector purple ; // for css
//property blue ;
//value darkgreen i ;