diakonos 0.8.7 → 0.8.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. metadata +38 -59
  2. data/CHANGELOG +0 -238
  3. data/LICENCE +0 -21
  4. data/README +0 -75
  5. data/bin/diakonos +0 -6
  6. data/diakonos-256-colour.conf +0 -102
  7. data/diakonos.conf +0 -1233
  8. data/lib/diakonos.rb +0 -618
  9. data/lib/diakonos/array.rb +0 -15
  10. data/lib/diakonos/bignum.rb +0 -9
  11. data/lib/diakonos/bookmark.rb +0 -50
  12. data/lib/diakonos/buffer-hash.rb +0 -60
  13. data/lib/diakonos/buffer-management.rb +0 -73
  14. data/lib/diakonos/buffer.rb +0 -2044
  15. data/lib/diakonos/clipboard.rb +0 -47
  16. data/lib/diakonos/config.rb +0 -304
  17. data/lib/diakonos/ctag.rb +0 -28
  18. data/lib/diakonos/display.rb +0 -288
  19. data/lib/diakonos/enumerable.rb +0 -15
  20. data/lib/diakonos/finding.rb +0 -32
  21. data/lib/diakonos/fixnum.rb +0 -17
  22. data/lib/diakonos/functions.rb +0 -1420
  23. data/lib/diakonos/grep.rb +0 -78
  24. data/lib/diakonos/hash.rb +0 -108
  25. data/lib/diakonos/help.rb +0 -92
  26. data/lib/diakonos/hooks.rb +0 -13
  27. data/lib/diakonos/interaction.rb +0 -139
  28. data/lib/diakonos/keycode.rb +0 -110
  29. data/lib/diakonos/keying.rb +0 -124
  30. data/lib/diakonos/list.rb +0 -55
  31. data/lib/diakonos/logging.rb +0 -24
  32. data/lib/diakonos/object.rb +0 -6
  33. data/lib/diakonos/readline.rb +0 -274
  34. data/lib/diakonos/regexp.rb +0 -6
  35. data/lib/diakonos/sessions.rb +0 -70
  36. data/lib/diakonos/sized-array.rb +0 -48
  37. data/lib/diakonos/string.rb +0 -326
  38. data/lib/diakonos/text-mark.rb +0 -19
  39. data/lib/diakonos/vendor/fuzzy_file_finder.rb +0 -353
  40. data/lib/diakonos/window.rb +0 -32
  41. data/test/buffer-test.rb +0 -53
  42. data/test/clipboard-test.rb +0 -70
  43. data/test/diakonos-test.rb +0 -14
  44. data/test/hash-test.rb +0 -404
  45. data/test/regexp-test.rb +0 -26
  46. data/test/sizedarray-test.rb +0 -113
  47. data/test/string-test.rb +0 -160
@@ -1,6 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require 'diakonos'
4
-
5
- $diakonos = Diakonos::Diakonos.new( ARGV )
6
- $diakonos.start
@@ -1,102 +0,0 @@
1
- colour 32 253 39 # selection; light grey on light blue
2
- colour 33 255 69 # comments; white on blue
3
- colour 34 45 black # Ruby symbols; light blue on black
4
- colour 35 123 black # Ruby instance variables; light blue on black
5
- colour 36 177 54 # regular expressions; purple on dark purple
6
- colour 37 111 17 # single-quoted strings; light blue on dark blue
7
- colour 38 117 18 # double-quoted strings; light blue on dark blue
8
- colour 39 213 90 # shell-quoted strings; light purple on purple
9
- colour 40 15 234 # constants; white on light black
10
- colour 44 224 88 # Ruby modifiers; light red on dark red
11
-
12
- colour 41 15 233 # XML nodes; white on light black
13
- colour 42 45 233 # XML attributes; light blue on black
14
- colour 43 123 233 # XML namespaces; light blue on black
15
-
16
- # Diakonos help files
17
-
18
- lang.dhf.format.default white
19
- lang.dhf.format.selection inverse
20
- lang.dhf.format.found yellow inverse
21
- lang.dhf.tokens.tags.format blue
22
- lang.dhf.tokens.title.format 33
23
-
24
- # Ruby
25
-
26
- lang.ruby.format.default white bold
27
- lang.ruby.format.selection 32
28
- lang.ruby.format.found yellow inverse
29
- lang.ruby.tokens.reserved_words.format white
30
- lang.ruby.tokens.constants.format 40
31
- lang.ruby.tokens.non_alphanum.format white
32
- lang.ruby.tokens.symbols.format 34
33
- lang.ruby.tokens.instance_variables.format 35
34
- lang.ruby.tokens.comments.format 33
35
- lang.ruby.tokens.regular_expressions.format 36
36
- lang.ruby.tokens.regular_expressions2.format 36
37
- lang.ruby.tokens.singlequoted_strings.format 37
38
- lang.ruby.tokens.doublequoted_strings.format 38
39
- lang.ruby.tokens.interpolated_string.format 38
40
- lang.interpolated_ruby.format.default 38
41
- lang.interpolated_ruby.tokens.interpolation.format 12 bold
42
- lang.ruby.tokens.backquoted_strings.format 39
43
- lang.ruby.tokens.interpolated_exec_string.format 39
44
- lang.interpolated_exec_ruby.format.default 39
45
- lang.interpolated_exec_ruby.tokens.interpolation.format 9 bold
46
- lang.ruby.tokens.character_codes.format magenta bold
47
- lang.ruby.tokens.long_comments.format 8 bold
48
- lang.ruby.tokens.sql_string.format 1
49
-
50
- # Perl
51
-
52
- lang.perl.format.default white bold
53
- lang.perl.format.selection 32
54
- lang.perl.format.found yellow inverse
55
- lang.perl.tokens.comments.format 33
56
- lang.perl.tokens.constants.format 40
57
- lang.perl.tokens.non_alphanum.format white
58
- lang.perl.tokens.regular_expressions.format 36
59
- lang.perl.tokens.singlequoted_strings.format 37
60
- lang.perl.tokens.doublequoted_strings.format 38
61
- lang.perl.tokens.backquoted_strings.format 39
62
- lang.perl.tokens.reserved_words.format white
63
- lang.perl.tokens.builtins.format cyan bold
64
- lang.perl.tokens.array_variables.format red bold
65
- lang.perl.tokens.hash_variables.format magenta bold
66
-
67
- # Java
68
-
69
- lang.java.format.default white bold
70
- lang.java.format.selection 32
71
- lang.java.format.found yellow inverse
72
- lang.java.tokens.singlequoted_strings.format 37
73
- lang.java.tokens.doublequoted_strings.format 38
74
- lang.java.tokens.reserved_words.format white
75
- lang.java.tokens.constants.format 40
76
- lang.java.tokens.comments.format 33
77
- lang.java.tokens.long_comments.format 33
78
- lang.java.tokens.non_alphanum.format white
79
- lang.java.tokens.regular_expressions.format 36
80
-
81
- # XML
82
-
83
- lang.xml.format.default white
84
- lang.xml.format.selection 32
85
- lang.xml.format.found yellow inverse
86
- lang.xml.tokens.entities.format magenta bold
87
- lang.xml.tokens.code.format white bold
88
- lang.xml.tokens.comments.format 33
89
- lang.xml.tokens.template.format brown
90
- lang.xml_tag.format.default 41
91
- lang.xml_tag.format.selection 32
92
- lang.xml_tag.format.found yellow inverse
93
- lang.xml_tag.tokens.doublequoted_strings.format 38
94
- lang.xml_tag.tokens.singlequoted_strings.format 38
95
- lang.xml_tag.tokens.non_alphanum.format white
96
- lang.xml_tag.tokens.namespaces.format 43
97
- lang.xml_comment.format.default 33
98
- lang.xml_comment.format.selection 32
99
- lang.xml_comment.format.found yellow inverse
100
- lang.xml_tag.tokens.attributes ([a-zA-Z_-]+?)=
101
- lang.xml_tag.tokens.attributes.format 42
102
-
@@ -1,1233 +0,0 @@
1
- #suppress_welcome true
2
-
3
- logfile ~/.diakonos/diakonos.log
4
-
5
- #session.default_session default-session
6
-
7
- # When the cursor is view.margin.y lines or less from the top or
8
- # bottom line, repeatedly scroll the screen view.jump.y lines until
9
- # the cursor is more than view.margin.y lines from the top and
10
- # bottom line.
11
- # Similarly for view.margin.x and view.jump.x, with respect to the
12
- # left-most and right-most screen columns.
13
- view.margin.x 10
14
- view.margin.y 5
15
- view.jump.x 10
16
- view.jump.y 5
17
- view.scroll_amount 1
18
- view.lookback 200
19
- view.nonfilelines.visible false
20
- view.nonfilelines.character ~
21
- view.wrap.visual true
22
-
23
- # bol_behaviour: This specifies where the cursor should go when the
24
- # beginning-of-line key (the default is the Home key) is pressed.
25
- # zero: Always move to the left-most column of the line
26
- # first-char: Always move to the left-most non-whitespace character
27
- # alternating-zero: As with 'zero', unless the cursor is
28
- # already there, in which case, as with 'first-char'.
29
- # alternating-first-char: As with 'first-char', unless the cursor is
30
- # already there, in which case, as with 'zero'.
31
- # bol_behavior is a synonym for bol_behaviour.
32
- bol_behaviour alternating-first-char
33
-
34
- # eol_behaviour: This specifies where the cursor should go when the
35
- # end-of-line key (the default is the End key) is pressed.
36
- # end: Always move to the right-most column of the line
37
- # last-char: Always move to the right-most non-whitespace character
38
- # alternating-end: As with 'end', unless the cursor is
39
- # already there, in which case, as with 'last-char'.
40
- # alternating-last-char: As with 'last-char', unless the cursor is
41
- # already there, in which case, as with 'end'.
42
- # eol_behavior is a synonym for eol_behaviour.
43
- eol_behaviour alternating-end
44
-
45
- # Ensures saved files end with a newline character by adding it if necessary.
46
- eof_newline false
47
-
48
- delete_newline_on_delete_to_eol false
49
-
50
- # Specifies whether the cursor should be at the end (false) of found text, or the
51
- # beginning (true).
52
- found_cursor_start false
53
- find.return_on_abort false
54
- grep.context 0
55
-
56
- max_clips 30
57
-
58
- # The maximum number of undo lines held in memory per file
59
- # Smaller files will be able to have more undo levels.
60
- max_undo_lines 16384
61
-
62
- convert_tabs false
63
- strip_trailing_whitespace_on_save true
64
-
65
- diff_command diff -U 5
66
-
67
- # Whether or not to use /usr/bin/file to determine whether files are readable
68
- # before opening them.
69
- use_magic_file false
70
-
71
- fuzzy_file_find false
72
-
73
- # ---------------------------------------------------------------------
74
- # Status Line
75
-
76
- # Use "% syntax" as placeholders
77
- # e.g. %d for decimal integers, %s for strings
78
- status.left -- %s %s%s%s -- (%s) --%s
79
- status.right - %s Buf %d of %d --- L%3d/%3d C%2d --
80
- # The string to use to fill in the space between the left and right sides
81
- # of the status line.
82
- status.filler -
83
- status.modified_str (modified)
84
- status.selecting_str (selecting)
85
- status.unnamed_str (unnamed file)
86
- status.read_only_str (read-only)
87
- # status.vars: any subset of:
88
- # line row num_lines col filename modified type buffer_number num_buffers selecting session_name read_only
89
- status.vars filename modified read_only selecting type @git_branch session_name buffer_number num_buffers row num_lines col
90
- #status.vars filename modified read_only selecting type @git_branch buffer_number num_buffers row num_lines col
91
- status.format inverse
92
-
93
- # ---------------------------------------------------------------------
94
- # Context Line
95
-
96
- # The context line shows the wrapping context of the cursor, with respect to
97
- # indentation. This shows the current code block(s) that the cursor is in.
98
-
99
- context.visible false
100
- context.combined false
101
- context.max_levels 4
102
- context.format inverse
103
- context.separator |
104
- context.separator.format red inverse
105
- #context.max_segment_width 10
106
-
107
- # ---------------------------------------------------------------------
108
- # Interaction Line
109
-
110
- # Duration of "alert" blink (in seconds) when user has made an invalid choice
111
- interaction.blink_duration 0.05
112
- interaction.blink_string ***********************************************************
113
- # Time to wait (in seconds) before accepting user keystrokes when prompting for
114
- # a choice which has no default
115
- interaction.choice_delay 3
116
-
117
- # ---------------------------------------------------------------------
118
- # Key Configuration
119
- # key <keystroke> [<keystroke>...];<function> [<arg>[,<arg>...]]
120
- # If no function is specified, it unmaps any previous mapping.
121
- # i.e. key <keystroke> [<keystroke>...];
122
- # <keystroke> can be "keycode##" to specify specific keycodes.
123
- # e.g. key keycode8;delete
124
- # Note the lack of space after the word keycode.
125
-
126
- # To obtain the string to use for any keychain, use the printKeychain command
127
- # (default alt+k).
128
-
129
- # The shell, execute and pasteShellResult commands can take variables:
130
-
131
- # $f current buffer's filepath
132
- # $F all current buffer filepaths, space-separated
133
- # $i get a string from user input
134
- # $c temp file containing current clipboard text
135
- # $k temp file containing current klipper (KDE clipboard) text
136
- # $s temp file containing currently selected text
137
-
138
- key left;cursorLeft
139
- key esc [ D;cursorLeft
140
- key right;cursorRight
141
- key esc [ C;cursorRight
142
- key up;cursorUp
143
- key esc [ A;cursorUp
144
- key down;cursorDown
145
- key esc [ B;cursorDown
146
- key home;cursorBOL
147
- key esc O H;cursorBOL
148
- key esc [ H;cursorBOL
149
- key esc [ 1 ~ cursorBOL
150
- key esc [ 7 ~ cursorBOL
151
- key end;cursorEOL
152
- key esc O F;cursorEOL
153
- key esc [ F;cursorEOL
154
- key esc [ 4 ~;cursorEOL
155
- key esc [ 8 ~;cursorEOL
156
- key pageup;pageUp
157
- key pagedown;pageDown
158
- #key ctrl+a;cursorBOL
159
- key ctrl+e;cursorEOL
160
- key alt+<;cursorBOF
161
- key esc [ 1 ; 5 H cursorBOF
162
- key alt+>;cursorEOF
163
- key esc [ 1 ; 5 F cursorEOF
164
- key alt+,;cursorTOV
165
- key alt+.;cursorBOV
166
- key ctrl+j;cursorReturn
167
- key ctrl+l;cursorReturn "forward"
168
- key alt+n;scrollDown
169
- key alt+p;scrollUp
170
- key esc up;scrollUp
171
- key esc [ 1 ; 3 A scrollUp
172
- key esc [ 1 ; 5 A scrollUp
173
- key keycode520 scrollUp
174
- key keycode521 scrollUp
175
- key esc down;scrollDown
176
- key esc [ 1 ; 3 B scrollDown
177
- key esc [ 1 ; 5 B scrollDown
178
- key keycode513 scrollDown
179
- key keycode514 scrollDown
180
- key esc right;seek /(?:^|\W)(\w)|\w(\W|$)/
181
- key esc [ 1 ; 3 C seek /\w(\W|$)|(?:^|\W)(\w)/
182
- key esc [ 1 ; 5 C seek /\w(\W|$)|(?:^|\W)(\w)/
183
- key keycode517 seek /\w(\W|$)|(?:^|\W)(\w)/
184
- key keycode518 seek /\w(\W|$)|(?:^|\W)(\w)/
185
- key esc left;seek /\w(\W|$)|(?:^|\W)(\w)/, "up"
186
- key esc [ 1 ; 3 D seek /\w(\W|$)|(?:^|\W)(\w)/, "up"
187
- key esc [ 1 ; 5 D seek /\w(\W|$)|(?:^|\W)(\w)/, "up"
188
- key keycode515 seek /\w(\W|$)|(?:^|\W)(\w)/, "up"
189
- key keycode516 seek /\w(\W|$)|(?:^|\W)(\w)/, "up"
190
-
191
- key ctrl+g;goToLineAsk
192
- key alt+b alt+b;toggleBookmark
193
- key alt+b alt+n;goToNextBookmark
194
- key alt+b alt+p;goToPreviousBookmark
195
- key alt+b alt+a;addNamedBookmark
196
- key alt+b alt+r;removeNamedBookmark
197
- key alt+b alt+g;goToNamedBookmark
198
- key alt+b alt+!;addNamedBookmark 1
199
- key alt+b alt+@;addNamedBookmark 2
200
- key alt+b alt+#;addNamedBookmark 3
201
- key alt+b alt+$;addNamedBookmark 4
202
- key alt+b alt+%;addNamedBookmark 5
203
- key alt+b alt+1;goToNamedBookmark 1
204
- key alt+b alt+2;goToNamedBookmark 2
205
- key alt+b alt+3;goToNamedBookmark 3
206
- key alt+b alt+4;goToNamedBookmark 4
207
- key alt+b alt+5;goToNamedBookmark 5
208
- key alt+t;goToTag
209
- key alt+);goToTagUnderCursor
210
- key alt+(;popTag
211
-
212
- key backspace backspace
213
- key ctrl+h backspace
214
- key del delete
215
- #key ctrl+k deleteLine
216
- key ctrl+k deleteAndStoreLine
217
- key ctrl+alt+k deleteToEOL
218
- key ctrl+d t delete_to
219
- key ctrl+d ctrl+t delete_to
220
- key ctrl+d i delete_to_and_from
221
- key ctrl+d ctrl+i delete_to_and_from
222
- key esc del collapseWhitespace
223
- key esc [ 3 ; 3 ~ collapseWhitespace
224
- key alt+w wrap_paragraph
225
- key alt+a columnize
226
- key enter carriageReturn
227
- key tab parsedIndent
228
- #key tab indent
229
- #key ctrl+alt+l unindent
230
- key alt+i indent
231
- key esc i indent
232
- key esc I unindent
233
- key esc [ Z unindent
234
- key keycode353 unindent
235
- #key tab insertSpaces 4
236
- #key tab insertTab
237
- key ctrl+t insertTab
238
- key alt+j joinLines
239
-
240
- key f1 help
241
- key esc O P help
242
- key esc [ 1 1 ~ help
243
- key esc [ [ A help
244
- key f13 help
245
- key esc O 2 P help
246
- key esc O 1 ; 2 P help
247
- key f11;loadConfiguration
248
- key esc [ 2 3 ~;loadConfiguration
249
- key f12;openFile "~/.diakonos/diakonos.conf"
250
- key esc [ 2 4 ~;openFile "~/.diakonos/diakonos.conf"
251
-
252
- key ctrl+alt+r;redraw
253
- key esc C;toggleSessionSetting 'context.visible', DO_REDRAW
254
- key ctrl+alt+d;toggleSessionSetting 'display'
255
- key esc W;toggleSessionSetting 'view.wrap.visual', DO_REDRAW
256
-
257
- key ctrl+n;newFile
258
- key ctrl+o;openFileAsk
259
- key alt+o open_matching_files
260
- key ctrl+s saveFile
261
- key esc S saveFileAs
262
- key ctrl+w;closeFile
263
- key ctrl+alt+o;revert
264
- key alt+!;setReadOnly
265
- key ctrl+q;quit
266
- key esc T setBufferType
267
- key esc s esc n name_session
268
- key esc s n name_session
269
- key esc s esc l load_session
270
- key esc s l load_session
271
- key esc s esc d set_session_dir
272
- key esc s d set_session_dir
273
-
274
- key alt+1;switchToBufferNumber 1
275
- key alt+2;switchToBufferNumber 2
276
- key alt+3;switchToBufferNumber 3
277
- key alt+4;switchToBufferNumber 4
278
- key alt+5;switchToBufferNumber 5
279
- key alt+6;switchToBufferNumber 6
280
- key alt+7;switchToBufferNumber 7
281
- key alt+8;switchToBufferNumber 8
282
- key alt+9;switchToBufferNumber 9
283
- key alt+0;switchToBufferNumber 10
284
- key alt+-;switchToPreviousBuffer
285
- key alt+=;switchToNextBuffer
286
- key ctrl+alt+b list_buffers
287
-
288
- key ctrl+space;anchorSelection
289
- #key ctrl+space;toggleSelection
290
- key ctrl+c copySelection
291
- key esc [ 2 ; 5 ~ copySelection
292
- key ctrl+x cutSelection
293
- key keycode383 cutSelection
294
- key alt+u removeSelection
295
- key ctrl+a select_all
296
-
297
- # If you are using KDE, you can uncomment these lines to synchronize
298
- # the Diakonos clipboard with the KDE clipboard
299
- #key ctrl+c copy_selection_to_klipper
300
- #key ctrl+x cut_selection_to_klipper
301
- #key ctrl+v paste_from_klipper
302
- #key ctrl+k delete_and_store_line_to_klipper
303
- #key ctrl+alt+k delete_to_eol_to_klipper
304
-
305
- key ctrl+b select_block
306
- # Select file diff in a patch
307
- key ctrl+alt+d f select_block /^Index: /, /^(Index: |$)/, false
308
- # Select a diff hunk in a patch
309
- key ctrl+alt+d h select_block /^@@ /, /^(@@ |$)/, false
310
- key esc # comment_out
311
- key esc @ uncomment
312
-
313
- key ctrl+alt+v;showClips
314
- key ctrl+v;paste
315
- key ctrl+y;unundo
316
- key ctrl+z;undo
317
- #key ctrl+z;suspend
318
- key suspend;undo
319
- #key suspend;suspend
320
-
321
- key ctrl+f;find
322
- #key ctrl+f;find "down", CASE_SENSITIVE
323
- key alt+f;find "down", CASE_SENSITIVE
324
- #key alt+f;findExact
325
- key ctrl+alt+f;find "up"
326
- #key ctrl+alt+f;find "up", CASE_SENSITIVE
327
- key f3;findAgain "down"
328
- key esc [ [ C findAgain "down"
329
- key esc O R;findAgain "down"
330
- key esc [ 1 3 ~;findAgain "down"
331
- key f15;findAgain "up"
332
- key esc [ 2 8 ~ findAgain "up"
333
- key esc O 2 R;findAgain "up"
334
- key ctrl+r searchAndReplace
335
- key alt+r searchAndReplace CASE_SENSITIVE
336
- key ctrl+alt+u;clearMatches
337
- key alt+c;close_code
338
- key esc g grep
339
- key esc G grep_buffers
340
- key ctrl+alt+g grep_dir
341
-
342
- key f2 shell
343
- key esc O Q shell
344
- key esc [ 1 2 ~ shell
345
- key esc [ [ B shell
346
- key f8;execute
347
- key esc F;execute "glark '$i' $F | less"
348
- key esc d shell "diff -U 5 -w -b $c $s", "clipboard.diff"
349
- #key esc F;shell "grep -n '$i' $F"
350
- #key esc F;execute "grep -n '$i' $F | less"
351
- #key esc l execute "aspell check $f"
352
- key f14 evaluate
353
- key esc O 2 Q evaluate
354
- key esc [ 2 6 ~ evaluate
355
- key ctrl+alt+c shell "ruby -c $f"
356
-
357
- # To use the following:
358
- # 1) Copy to the clipboard some Ruby code which operates on stdin text and outputs to stdout.
359
- # 2) Select (highlight) some text to operate on.
360
- # 3) Activate this pasteShellResult command.
361
- # 4) The selected text should now be replaced with the script's results.
362
- key ctrl+alt+p;pasteShellResult "cat $s | ruby $c"
363
- #key ctrl+alt+p;pasteShellResult "cat $s | perl $c"
364
- #key ctrl+alt+p;pasteShellResult "cat $s | python $c"
365
- #key ctrl+alt+p;pasteShellResult "cat $s | sed -f $c"
366
- #key ctrl+alt+p;pasteShellResult "cat $s | awk -f $c"
367
-
368
- key alt+k printKeychain
369
- key esc K print_mapped_function
370
- key alt+m;toggleMacroRecording
371
- key f4 playMacro
372
- key esc O S playMacro
373
- key esc [ 1 4 ~ playMacro
374
- key esc [ [ D playMacro
375
- key f5 loadScript
376
- key esc [ 1 5 ~ loadScript
377
- key esc [ [ E loadScript
378
- key f6;repeatLast
379
- key esc [ 1 7 ~;repeatLast
380
- key f7;operateOnEachLine
381
- key f19;operateOnString
382
- key esc [ 1 8 ; 2 ~ operateOnString
383
- key esc f7 operateOnLines
384
- key esc [ 1 8 ; 3 ~ operateOnLines
385
- key keycode319 operateOnLines
386
-
387
- # Emacs-like keychains
388
-
389
- #key ctrl+s;find
390
- #key ctrl+x ctrl+c;quit
391
- #key ctrl+x ctrl+f;openFileAsk
392
- #key ctrl+x ctrl+s;saveFile
393
-
394
- # ---------------------------------------------------------------------
395
- # Colour Definitions
396
- #
397
- # colour <integer greater than 7> <foreground colour> <background colour>
398
- #
399
- # For a list of colour names, see the list of format codes in the
400
- # Language Definitions section, below.
401
- #
402
- # With this colour command you can set a different background colour than the
403
- # terminal default.
404
- #
405
- # color is a synonym for colour.
406
- colour 8 white blue
407
- colour 9 white red
408
- colour 10 white magenta
409
- colour 11 yellow blue
410
- colour 12 white green
411
- colour 13 white brown
412
- colour 14 black cyan
413
- colour 15 yellow red
414
-
415
- # ---------------------------------------------------------------------
416
- # Language Definitions
417
- # For syntax highlighting and indentation.
418
-
419
- # lang.<language>.tokens.<any name>[.case_insensitive] <regexp with one pair of parentheses identifying the token>
420
- # lang.<language>.tokens.<any name>.format <format codes>
421
- # <format codes> can be any subset of:
422
- # normal black red green brown blue magenta cyan white standout underline inverse blink dim bold
423
- # The numbers of colour pairs (as defined by the configuration command "colour")
424
- # can also be used as format codes.
425
- #
426
- # indent.roundup: If a line's indentation is not evenly divisible by the
427
- # indent.size, and indent.roundup is true, then the non-integer indentation
428
- # level will be rounded up. If indent.roundup is false, then it will be
429
- # rounded down.
430
- # e.g. given an indent.size of 4, and a line with 6 spaces, indent.roundup
431
- # true will make Diakonos consider the line indented 2 levels. With
432
- # indent.roundup false, it will be considered indented 1 level.
433
- #
434
- # The filemask can also be used to specify specific filenames which
435
- # don't conform to the standard extensions for a language.
436
-
437
- # Text (default)
438
-
439
- lang.text.format.default white
440
- lang.text.format.selection inverse
441
- lang.text.format.found yellow inverse
442
- lang.text.indent.size 2
443
- lang.text.indent.auto true
444
- lang.text.indent.roundup false
445
- #lang.text.indent.using_tabs true
446
- lang.text.tabsize 8
447
- lang.text.wrap_margin 80
448
-
449
- # Diakonos help files
450
-
451
- lang.dhf.filemask \.dhf
452
- lang.dhf.format.default white
453
- lang.dhf.format.selection inverse
454
- lang.dhf.format.found yellow inverse
455
- lang.dhf.tokens.tags (^Tags: .+)
456
- lang.dhf.tokens.tags.format blue
457
- lang.dhf.tokens.title (^# .*)
458
- lang.dhf.tokens.title.format 8 bold
459
- lang.dhf.tokens.subtitle (^## .*)
460
- lang.dhf.tokens.subtitle.format cyan bold
461
- lang.dhf.tokens.subsubtitle (^### .*)
462
- lang.dhf.tokens.subsubtitle.format cyan
463
- lang.dhf.tokens.keys <(.+?)>
464
- lang.dhf.tokens.keys.format white bold
465
- lang.dhf.indent.size 2
466
- lang.dhf.indent.auto true
467
- lang.dhf.indent.roundup true
468
- lang.dhf.wrap_margin 80
469
-
470
- # XML
471
-
472
- lang.xml.filemask \.(xml|xsl|rdl|aiml)$
473
- lang.xml.format.default white
474
- lang.xml.format.selection inverse
475
- lang.xml.format.found yellow inverse
476
- lang.xml.tabsize 8
477
- lang.xml.indent.size 2
478
- lang.xml.indent.auto true
479
- lang.xml.indent.roundup true
480
- #lang.xml.indent.using_tabs true
481
- lang.xml.tokens.entities &\S+?;
482
- lang.xml.tokens.entities.format magenta bold
483
- lang.xml.tokens.comments.open (<!--)
484
- lang.xml.tokens.comments.close (-->)
485
- lang.xml.tokens.comments.format 8
486
- lang.xml.tokens.comments.change_to xml_comment
487
- lang.xml.comment_string "<!-- "
488
- lang.xml.comment_close_string " -->"
489
- lang.xml.tokens.code.open (<)(?:[^%]|$)
490
- lang.xml.tokens.code.close (?:[^%]|^)(>)
491
- lang.xml.tokens.code.format white bold
492
- lang.xml.tokens.code.change_to xml_tag
493
- lang.xml.tokens.template.open \[@--
494
- lang.xml.tokens.template.close --@\]
495
- lang.xml.tokens.template.format brown
496
- lang.xml.tokens.template.change_to perl
497
- lang.xml.closers.tag.regexp .*<([^/> ]*)
498
- lang.xml.closers.tag.closer { |m| "</" + m[ 1 ] + ">" }
499
- lang.xml_tag.format.default white bold
500
- lang.xml_tag.format.selection inverse
501
- lang.xml_tag.format.found yellow inverse
502
- lang.xml_tag.tabsize 8
503
- lang.xml_tag.indent.size 2
504
- lang.xml_tag.indent.auto true
505
- lang.xml_tag.indent.roundup true
506
- #lang.xml_tag.indent.using_tabs true
507
- lang.xml_tag.tokens.doublequoted_strings (\".*?[^\\]\")
508
- lang.xml_tag.tokens.doublequoted_strings.format green bold
509
- lang.xml_tag.tokens.singlequoted_strings ('.*?[^\\]')
510
- lang.xml_tag.tokens.singlequoted_strings.format green bold
511
- lang.xml_tag.tokens.non_alphanum ([@!#$%^&*()\[\]{}/?=+\-\\|,<.>;:])
512
- lang.xml_tag.tokens.non_alphanum.format white
513
- lang.xml_tag.tokens.namespaces ([a-zA-Z_-]+):
514
- lang.xml_tag.tokens.namespaces.format yellow bold
515
- lang.xml_comment.format.default 8
516
- lang.xml_comment.format.selection inverse
517
- lang.xml_comment.format.found yellow inverse
518
- lang.xml_comment.tabsize 8
519
- lang.xml_comment.indent.size 2
520
- lang.xml_comment.indent.auto true
521
- lang.xml_comment.indent.roundup true
522
- #lang.xml_comment.indent.using_tabs true
523
-
524
- lang.html.filemask \.([rx]?html?|php|asp)$
525
- lang.html.format.default white
526
- lang.html.format.selection inverse
527
- lang.html.format.found yellow inverse
528
- lang.html.tabsize 8
529
- lang.html.indent.size 2
530
- lang.html.indent.auto true
531
- lang.html.indent.roundup true
532
- #lang.html.indent.using_tabs true
533
- lang.html.tokens.comments.open (<!--)
534
- lang.html.tokens.comments.close (-->)
535
- lang.html.tokens.comments.format 8
536
- lang.html.tokens.comments.change_to html_comment
537
- lang.html.comment_string "<!-- "
538
- lang.html.comment_close_string " -->"
539
- lang.html.tokens.entities &\S+?;
540
- lang.html.tokens.entities.format magenta bold
541
- lang.html.tokens.eruby.open <%
542
- lang.html.tokens.eruby.close %>
543
- lang.html.tokens.eruby.format 9 bold
544
- lang.html.tokens.eruby.change_to ruby
545
- lang.html.tokens.ezamar.open <\?r
546
- lang.html.tokens.ezamar.close \?>
547
- lang.html.tokens.ezamar.format 9 bold
548
- lang.html.tokens.ezamar.change_to ruby
549
- lang.html.tokens.ezamar-value.open \#\{
550
- lang.html.tokens.ezamar-value.close \}
551
- lang.html.tokens.ezamar-value.format 9 bold
552
- lang.html.tokens.ezamar-value.change_to ruby
553
- lang.html.tokens.php.open <\?(?:php)?
554
- lang.html.tokens.php.close \?>
555
- lang.html.tokens.php.format 10 bold
556
- lang.html.tokens.php.change_to php
557
- lang.html.tokens.code.open (<)(?:[^%]|$)
558
- lang.html.tokens.code.close (?:[^%]|^)(>)
559
- lang.html.tokens.code.format white bold
560
- lang.html.tokens.code.change_to html_tag
561
- lang.html.closers.tag.regexp <([^/> ]*)
562
- lang.html.closers.tag.closer { |m| "</" + m[ 1 ] + ">" }
563
- lang.html_tag.format.default white bold
564
- lang.html_tag.format.selection inverse
565
- lang.html_tag.format.found yellow inverse
566
- lang.html_tag.tabsize 8
567
- lang.html_tag.indent.size 4
568
- lang.html_tag.indent.auto true
569
- lang.html_tag.indent.roundup true
570
- #lang.html_tag.indent.using_tabs true
571
- lang.html_tag.tokens.attribute (href)
572
- lang.html_tag.tokens.attribute.format green bold
573
- lang.html_tag.tokens.elements.case_insensitive \b(A|ABBR|ACRONYM|ADDRES|APPLET|AREA|B|BASE|BASEFONT|BDO|BIG|BLOCKQUOTE|BODY|BR|BUTTON|CAPTION|CENTER|CITE|CODE|COL|COLGROUP|DD|DEL|DFN|DIR|DIV|DL|DT|EM|FIELDSET|FONT|FORM|FRAME|FRAMESET|H1|H2|H3|H4|H5|H6|HEAD|HR|HTML|I|IFRAME|IMG|INPUT|INS|ISINDEX|KBD|LABEL|LEGEND|LI|LINK|MAP|MENU|META|NOFRAMES|NOSCRIPT|OBJECT|OL|OPTGROUP|OPTION|P|PARAM|PRE|Q|S|SAMP|SCRIPT|SELECT|SMALL|SPAN|STRIKE|STRONG|STYLE|SUB|SUP|TABLE|TBODY|TD|TEXTAREA|TFOOT|TH|THEAD|TITLE|TR|TT|U|UL|VA)\b
574
- lang.html_tag.tokens.elements.format cyan
575
- lang.html_tag.tokens.attributes.case_insensitive \b(abbr|accept-charset|accept|accesskey|action|align|alink|alt|archive|axis|background|bgcolor|border|cellpadding|cellspacing|char|charoff|charset|checked|cite|class|classid|clear|code|codebase|codetype|color|cols|colspan|compact|content|coords|data|datetime|declare|defer|dir|disabled|enctype|face|for|frame|frameborder|headers|height|href|href|hreflang|hspace|http-equiv|id|ismap|label|lang|language|link|longdesc|marginheight|marginwidth|maxlength|media|method|multiple|name|nohref|noresize|noshade|nowrap|object|onblur|onchange|onclick|ondblclick|onfocus|onkeydown|onkeypress|onkeyup|onload|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|onreset|onselect|onsubmit|onunload|profile|prompt|readonly|rel|rev|rows|rowspan|rules|scheme|scope|scrolling|selected|shape|size|span|src|standby|start|style|summary|tabindex|target|text|title|type|usemap|valign|value|valuetype|version|vlink|vspace|width)\b
576
- lang.html_tag.tokens.attributes.format white
577
- lang.html_tag.tokens.doublequoted_strings (\".*?[^\\]\")
578
- lang.html_tag.tokens.doublequoted_strings.format green bold
579
- lang.html_tag.tokens.singlequoted_strings ('.*?[^\\]')
580
- lang.html_tag.tokens.singlequoted_strings.format green bold
581
- lang.html_tag.tokens.non_alphanum ([@!#$%^&*()\[\]{}/?=+\-\\|,<.>;:])
582
- lang.html_tag.tokens.non_alphanum.format white
583
- lang.html_comment.format.default 8
584
- lang.html_comment.format.selection inverse
585
- lang.html_comment.format.found yellow inverse
586
- lang.html_comment.tabsize 8
587
- lang.html_comment.indent.size 4
588
- lang.html_comment.indent.auto true
589
- lang.html_comment.indent.roundup true
590
- #lang.html_comment.indent.using_tabs true
591
-
592
- # CSS
593
-
594
- lang.css.filemask \.css$
595
- lang.css.format.default white
596
- lang.css.format.selection inverse
597
- lang.css.format.found yellow inverse
598
- lang.css.tabsize 8
599
- lang.css.indent.size 4
600
- lang.css.indent.auto true
601
- lang.css.indent.roundup true
602
- #lang.css.indent.using_tabs true
603
- lang.css.indent.indenters (\{)
604
- lang.css.indent.unindenters (\})
605
- lang.css.indent.preventers (\".+?[^\\]\")|('.+?[^\\]')|(\/\/.*)
606
- lang.css.tokens.properties \b(azimuth|background-attachment|background-color|background-image|background-position|background-repeat|background|border-collapse|border-color|border-spacing|border-style|border-top|border-bottom|border-right|border-left|border-top-color|border-top-style|border-top-width|border-width|border|bottom|caption-side|clear|clip|color|content|counter-increment|counter-reset|cue-after|cue-before|cue|cursor|direction|display|elevation|empty-cells|float|font-family|font-size|font-style|font-variant|font-weight|font|height|left|letter-spacing|line-height|list-style-image|list-style-position|list-style-type|list-style|margin-right|margin-top|margin-left|margin-bottom|margin|max-height|max-width|min-height|min-width|orphans|outline-color|outline-style|outline-width|outline|overflow|padding-top|padding-left|padding-right|padding-bottom|padding|page-break-after|page-break-before|page-break-inside|pause-after|pause-before|pause|pitch-range|pitch|play-during|position|quotes|richness|right|speak-header|speak-numeral|speak-punctuation|speak|speech-rate|stress|table-layout|text-align|text-decoration|text-indent|text-transform|top|unicode-bidi|vertical-align|visibility|voice-family|volume|white-space|widows|width|word-spacing|z-index)\s*:
607
- lang.css.tokens.properties.format white bold
608
- lang.css.tokens.colours #[A-Fa-f0-9]{6}|\b(?:aqua|black|blue|fuchsia|gray|green|lime|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)\b
609
- lang.css.tokens.colours.format yellow bold
610
- lang.css.tokens.long_comments.open \/\*
611
- lang.css.tokens.long_comments.close \*\/
612
- lang.css.tokens.long_comments.format 8 bold
613
- lang.css.comment_string "/* "
614
- lang.css.comment_close_string " */"
615
- lang.css.tokens.numbers \b([0-9]+\.[0-9]+|[0-9]+)
616
- lang.css.tokens.numbers.format blue bold
617
- lang.css.tokens.units [^A-Za-z](em|pt|px)\b
618
- lang.css.tokens.units.format cyan
619
- lang.css.tokens.html_elements.case_insensitive \b(A|ABBR|ACRONYM|ADDRES|APPLET|AREA|B|BASE|BASEFONT|BDO|BIG|BLOCKQUOTE|BODY|BR|BUTTON|CAPTION|CENTER|CITE|CODE|COL|COLGROUP|DD|DEL|DFN|DIR|DIV|DL|DT|FIELDSET|FORM|FRAME|FRAMESET|H1|H2|H3|H4|H5|H6|HEAD|HR|HTML|I|IFRAME|IMG|INPUT|INS|ISINDEX|KBD|LABEL|LEGEND|LI|LINK|MAP|MENU|META|NOFRAMES|NOSCRIPT|OBJECT|OL|OPTGROUP|OPTION|P|PARAM|PRE|Q|S|SAMP|SCRIPT|SELECT|SMALL|SPAN|STRIKE|STRONG|STYLE|SUB|SUP|TABLE|TBODY|TD|TEXTAREA|TFOOT|TH|THEAD|TITLE|TR|TT|U|UL|VA)\b
620
- lang.css.tokens.html_elements.format green
621
- lang.css.tokens.values \b(auto|block|inherit|inline|larger|none|smaller|solid)\b
622
- lang.css.tokens.values.format blue bold
623
- lang.css.column_delimiters :|,
624
-
625
- # Ruby
626
-
627
- lang.ruby.filemask (?:[Rr]akefile)|(?:\.(?:rb|gem(?:spec)?|rake)$)
628
- lang.ruby.bangmask #!.*ruby
629
- lang.ruby.format.default white bold
630
- lang.ruby.format.selection inverse
631
- lang.ruby.format.found yellow inverse
632
- lang.ruby.tokens.reserved_words \b(__FILE__|and|def|end|in|or|self|__LINE__|begin|defined\?|ensure|module|redo|super|until|BEGIN|break|do|false|next|rescue|then|when|END|case|else|for|nil|retry|true|while|alias|class|elsif|not|return|undef|yield)\b
633
- lang.ruby.tokens.reserved_words.format white
634
- lang.ruby.tokens.non_modifiers ^\s*(if|unless)
635
- lang.ruby.tokens.non_modifiers.format white
636
- lang.ruby.tokens.modifiers \s+(if|unless)
637
- lang.ruby.tokens.modifiers.format 44
638
- lang.ruby.tokens.constants \b([A-Z_]+|[A-Z_][A-Z0-9_]+)\b
639
- lang.ruby.tokens.constants.format yellow bold
640
- lang.ruby.tokens.symbols [^:](:[a-zA-Z_][a-zA-Z_0-9]*)
641
- lang.ruby.tokens.symbols.format white bold
642
- lang.ruby.tokens.comments (#.*)
643
- lang.ruby.tokens.comments.format 8 bold
644
- lang.ruby.comment_string "# "
645
- lang.ruby.tokens.long_comments.open ^=begin
646
- lang.ruby.tokens.long_comments.close ^=end
647
- lang.ruby.tokens.long_comments.format 8 bold
648
- lang.ruby.tokens.sql_string.open (<<-EOSQL)
649
- lang.ruby.tokens.sql_string.close (EOSQL)
650
- lang.ruby.tokens.sql_string.format 1
651
- lang.ruby.tokens.sql_string.change_to sql
652
- lang.ruby.tokens.instance_variables (@[A-Za-z_][A-Za-z_0-9]*)
653
- lang.ruby.tokens.instance_variables.format white bold
654
- lang.ruby.tokens.regular_expressions (\/.+?[^\\]\/)
655
- lang.ruby.tokens.regular_expressions.format red bold
656
- lang.ruby.tokens.regular_expressions2 (%r\{.+?[^\}]\})
657
- lang.ruby.tokens.regular_expressions2.format red bold
658
- lang.ruby.tokens.doublequoted_strings (\".*?[^\\]\"|\"\")
659
- lang.ruby.tokens.doublequoted_strings.format green bold
660
- lang.ruby.tokens.interpolated_string.open (%Q?\{)
661
- lang.ruby.tokens.interpolated_string.close (\})
662
- lang.ruby.tokens.interpolated_string.format green bold
663
- lang.ruby.tokens.interpolated_string.change_to interpolated_ruby
664
- lang.interpolated_ruby.format.default green bold
665
- lang.interpolated_ruby.tokens.interpolation.open (#\{)
666
- lang.interpolated_ruby.tokens.interpolation.close (\})
667
- lang.interpolated_ruby.tokens.interpolation.format 12 bold
668
- lang.interpolated_ruby.tokens.interpolation.change_to ruby
669
- lang.ruby.tokens.singlequoted_strings ('.*?[^\\]'|'')
670
- lang.ruby.tokens.singlequoted_strings.format green bold
671
- lang.ruby.tokens.backquoted_strings (`.*?[^\\]`|``)
672
- lang.ruby.tokens.backquoted_strings.format red bold
673
- lang.ruby.tokens.interpolated_exec_string.open (%x\{)
674
- lang.ruby.tokens.interpolated_exec_string.close (\})
675
- lang.ruby.tokens.interpolated_exec_string.format red bold
676
- lang.ruby.tokens.interpolated_exec_string.change_to interpolated_exec_ruby
677
- lang.interpolated_exec_ruby.format.default red bold
678
- lang.interpolated_exec_ruby.tokens.interpolation.open (#\{)
679
- lang.interpolated_exec_ruby.tokens.interpolation.close (\})
680
- lang.interpolated_exec_ruby.tokens.interpolation.format 9 bold
681
- lang.interpolated_exec_ruby.tokens.interpolation.change_to ruby
682
- lang.ruby.tokens.character_codes \W(\?\S)
683
- lang.ruby.tokens.character_codes.format magenta bold
684
- lang.ruby.tokens.non_alphanum [@!#$%^&*()\[\]{}/?=+\-\\|,<.>;~]
685
- lang.ruby.tokens.non_alphanum.format white
686
- lang.ruby.indent.size 2
687
- lang.ruby.indent.auto true
688
- lang.ruby.indent.roundup true
689
- #lang.ruby.indent.using_tabs true
690
- lang.ruby.tabsize 2
691
- lang.ruby.indent.indenters ^\s*(case|def|begin|ensure|when|else|ensure|for|while|until|elsif|if|class|module|rescue)\b|([{\[(]$|\{\s*\|[\w\s,]*\|\s*$)|\b(do)\b
692
- lang.ruby.indent.unindenters ^\s*(end|else|elsif|ensure|when|rescue)\b|(^\s+[\]})])
693
- lang.ruby.indent.preventers (\".+?[^\\]\")|('.+?[^\\]')|(`.+?[^\\]`)|(\/.+?[^\\]\/)|(^\s*#.*)|\S\s+if
694
- lang.ruby.indent.ignore ^\s*$
695
- lang.ruby.context.ignore ^=(begin|end)$
696
- lang.ruby.column_delimiters =>?|:|,
697
-
698
- # PHP
699
-
700
- lang.php.filemask \.php\d?$
701
- lang.php.bangmask #!.*php
702
- lang.php.format.default white bold
703
- lang.php.format.selection inverse
704
- lang.php.format.found yellow inverse
705
- lang.php.tokens.doublequoted_strings (\".*?[^\\]\")
706
- lang.php.tokens.doublequoted_strings.format green bold
707
- lang.php.tokens.singlequoted_strings ('.*?[^\\]')
708
- lang.php.tokens.singlequoted_strings.format green bold
709
- lang.php.tokens.reserved_words \b(NULL|E_ALL|__wakeup|not|endwhile|__sleep|new|endswitch|__LINE__|list|endif|__FILE__|global|endforeach|while|include_once|endfor|virtual|include|enddeclare|xor|if|empty|var|elseif|TRUE|true|else|this|echo|stdClass|die|switch|do|static|default|return|function|declare|require_once|foreach|continue|require|for|class|print|FALSE|false|cfunction|PHP_VERSION|extends|case|exit|break|PHP_OS|eval|argc|parent|E_WARNING|as|or|E_ERROR|argv|old_function|E_PARSE|and)\b
710
- lang.php.tokens.reserved_words.format white
711
- lang.php.tokens.constants \b([A-Z_]+|[A-Z_][A-Z0-9_]+)\b
712
- lang.php.tokens.constants.format yellow bold
713
- lang.php.tokens.comments (\/\/.*)
714
- lang.php.tokens.comments.format 8 bold
715
- lang.php.comment_string "// "
716
- lang.php.tokens.long_comments.open \/\*
717
- lang.php.tokens.long_comments.close \*\/
718
- lang.php.tokens.long_comments.format 8 bold
719
- lang.php.tokens.preprocessor (^\s*#.*)
720
- lang.php.tokens.preprocessor.format yellow bold
721
- lang.php.tokens.sql_string.open (<<<EOS)
722
- lang.php.tokens.sql_string.close (EOS)
723
- lang.php.tokens.sql_string.format 1
724
- lang.php.tokens.sql_string.change_to sql
725
- lang.php.tokens.js.open (<<<EOJS)
726
- lang.php.tokens.js.close (EOJS)
727
- lang.php.tokens.js.format 12 bold
728
- lang.php.tokens.js.change_to java
729
- lang.php.tokens.non_alphanum ([!@#$%\^&*()\[\]{}/?=+\-\\|,<.>;:])
730
- lang.php.tokens.non_alphanum.format white
731
- lang.php.indent.size 4
732
- lang.php.indent.auto true
733
- lang.php.indent.roundup false
734
- #lang.php.indent.using_tabs true
735
- lang.php.indent.indenters ([{\[(]$)
736
- lang.php.indent.unindenters (^\s+[\]})])
737
- lang.php.indent.preventers (\".+?[^\\]\")|('.+?[^\\]')|(\/\/.*)
738
- lang.php.indent.ignore ^(.+:|\s*?)$
739
- lang.php.context.ignore ^(.+:|\s*\{?)$
740
-
741
- # Perl
742
-
743
- lang.perl.filemask \.(?:pl|pm)$
744
- lang.perl.bangmask #!.*perl
745
- lang.perl.format.default white bold
746
- lang.perl.format.selection inverse
747
- lang.perl.format.found yellow inverse
748
- lang.perl.tokens.comments (#.*)
749
- lang.perl.tokens.comments.format 8 bold
750
- lang.perl.comment_string "# "
751
- lang.perl.tokens.constants \b([A-Z_]+|[A-Z_][A-Z0-9_]+)\b
752
- lang.perl.tokens.constants.format yellow bold
753
- lang.perl.tokens.regular_expressions (\/.+?[^\\]\/)
754
- lang.perl.tokens.regular_expressions.format red bold
755
- lang.perl.tokens.doublequoted_strings (\".*?[^\\]\")
756
- lang.perl.tokens.doublequoted_strings.format green bold
757
- lang.perl.tokens.singlequoted_strings ('.*?[^\\]')
758
- lang.perl.tokens.singlequoted_strings.format green bold
759
- lang.perl.tokens.backquoted_strings (`.*?[^\\]`)
760
- lang.perl.tokens.backquoted_strings.format red bold
761
- lang.perl.tokens.reserved_words \b(unless|until|else|for|while|foreach|if|return|do|next|elsif|last|redo|continue|sub|goto)\b
762
- lang.perl.tokens.reserved_words.format white
763
- lang.perl.tokens.builtins \b(abs|accept|alarm|atan2|bind|binmode|bless|caller|chdir|chmod|chomp|chop|chown|chr|chroot|close|closedir|connect|continue|cos|crypt|dbmclose|dbmopen|defined|delete|die|do|dump|each|endgrent|endhostent|endnetent|endprotoent|endpwent|endservent|eof|eval|exec|exists|exit|exp|fcntl|fileno|flock|fork|format|formline|getc|getgrent|getgrgid|getgrnam|gethostbyaddr|gethostbyname|gethostent|getlogin|getnetbyaddr|getnetbyname|getnetent|getpeername|getpgrp|getppid|getpriority|getprotobyname|getprotobynumber|getprotoent|getpwent|getpwnam|getpwuid|getservbyname|getservbyport|getservent|getsockname|getsockopt|glob|gmtime|goto|grep|hex|import|index|int|ioctl|join|keys|kill|last|lc|lcfirst|length|link|listen|local|localtime|lock|log|lstat|m|map|mkdir|msgctl|msgget|msgrcv|msgsnd|my|next|no|oct|open|opendir|ord|our|pack|package|pipe|pop|pos|print|printf|prototype|push|q|qq|qr|quotemeta|qw|qx|rand|read|readdir|readline|readlink|readpipe|recv|redo|ref|rename|require|reset|return|reverse|rewinddir|rindex|rmdir|s|scalar|seek|seekdir|select|semctl|semget|semop|send|setgrent|sethostent|setnetent|setpgrp|setpriority|setprotoent|setpwent|setservent|setsockopt|shift|shmctl|shmget|shmread|shmwrite|shutdown|sin|sleep|socket|socketpair|sort|splice|split|sprintf|sqrt|srand|stat|study|sub|substr|symlink|syscall|sysopen|sysread|sysseek|system|syswrite|tell|telldir|tie|tied|time|times|tr|truncate|uc|ucfirst|umask|undef|unlink|unpack|unshift|untie|use|utime|values|vec|wait|waitpid|wantarray|warn|write|y)\b
764
- lang.perl.tokens.builtins.format cyan bold
765
- lang.perl.tokens.array_variables \s(@[A-Za-z_][A-Za-z_0-9]*)\b
766
- lang.perl.tokens.array_variables.format red bold
767
- lang.perl.tokens.hash_variables \s(%[A-Za-z_][A-Za-z_0-9]*)\b
768
- lang.perl.tokens.hash_variables.format magenta bold
769
- lang.perl.tokens.non_alphanum [!#^&*()\[\]{}/?=+\-\\|,<.>;:~]
770
- lang.perl.tokens.non_alphanum.format white
771
- lang.perl.indent.size 4
772
- lang.perl.indent.auto true
773
- lang.perl.indent.roundup true
774
- #lang.perl.indent.using_tabs true
775
- lang.perl.indent.indenters (case|[{\[(]$)
776
- lang.perl.indent.unindenters (case|^\s+[\]})])
777
- #lang.perl.indent.indenters \b(unless|else|for|while|foreach|if|do|elsif|sub)\b
778
- #lang.perl.indent.unindenters \b(else)\b
779
- lang.perl.indent.preventers (\".+?[^\\]\")|('.+?[^\\]')|(`.+?[^\\]`)|(\/.+?[^\\]\/)|(^\s*#.*)
780
- lang.perl.indent.ignore ^\s*$
781
- lang.perl.context.ignore ^(.+:|\s*\{?)$
782
- lang.perl.column_delimiters =>?|:|,
783
-
784
- # Python
785
-
786
- lang.python.filemask \.py$
787
- lang.python.bangmask #!.*python
788
- lang.python.format.default white bold
789
- lang.python.format.selection inverse
790
- lang.python.format.found yellow inverse
791
- lang.python.tokens.constants \b([A-Z_]+|[A-Z_][A-Z0-9_]+)\b
792
- lang.python.tokens.constants.format yellow bold
793
- lang.python.tokens.comments (#.*)
794
- lang.python.tokens.comments.format 8 bold
795
- lang.python.comment_string "# "
796
- lang.python.tokens.doublequoted_strings (\".*?[^\\]\")
797
- lang.python.tokens.doublequoted_strings.format green bold
798
- lang.python.tokens.singlequoted_strings ('.*?[^\\]')
799
- lang.python.tokens.singlequoted_strings.format green bold
800
- lang.python.tokens.backquoted_strings (`.*?[^\\]`)
801
- lang.python.tokens.backquoted_strings.format red bold
802
- lang.python.tokens.reserved_words \b(and|assert|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|not|or|pass|print|raise|return|try|while|yield)\b
803
- lang.python.tokens.reserved_words.format white
804
- lang.python.tokens.non_alphanum [@!#$%^&*()\[\]{}/?=+\-\\|,<.>;:~]
805
- lang.python.tokens.non_alphanum.format white
806
- lang.python.indent.size 4
807
- lang.python.indent.auto true
808
- lang.python.indent.roundup true
809
- #lang.python.indent.using_tabs true
810
- lang.python.indent.indenters \b(class|def|elif|else|except|finally|for|if|try|while)\b
811
- #lang.python.indent.indenters :
812
- lang.python.indent.unindenters \b(else|elif|except)\b
813
- lang.python.indent.preventers (\".+?[^\\]\")|('.+?[^\\]')|(`.+?[^\\]`)|(^\s*#.*)
814
- lang.python.indent.ignore ^\s*$
815
-
816
- # Java
817
-
818
- lang.java.filemask \.(?:java|js)$
819
- lang.java.format.default white bold
820
- lang.java.format.selection inverse
821
- lang.java.format.found yellow inverse
822
- lang.java.tokens.doublequoted_strings (\".*?[^\\]\")
823
- lang.java.tokens.doublequoted_strings.format green bold
824
- lang.java.tokens.singlequoted_strings ('.*?[^\\]')
825
- lang.java.tokens.singlequoted_strings.format green bold
826
- lang.java.tokens.reserved_words \b(abstract|do|if|package|synchronized|boolean|double|implements|private|this|break|else|import|protected|throw|byte|extends|instanceof|public|throws|case|false|int|return|transient|catch|final|interface|short|true|char|finally|long|static|try|class|float|native|strictfp|void|const|for|new|super|volatile|continue|goto|null|switch|while|default|assert)\b
827
- lang.java.tokens.reserved_words.format white
828
- lang.java.tokens.constants \b([A-Z_]+|[A-Z_][A-Z0-9_]+)\b
829
- lang.java.tokens.constants.format yellow bold
830
- lang.java.tokens.comments (\/\/.*)
831
- lang.java.tokens.comments.format 8 bold
832
- lang.java.comment_string "// "
833
- lang.java.tokens.long_comments.open \/\*
834
- lang.java.tokens.long_comments.close \*\/
835
- lang.java.tokens.long_comments.format 8 bold
836
- lang.java.tokens.regular_expressions (\/.+?[^\\]\/)
837
- lang.java.tokens.regular_expressions.format red bold
838
- lang.java.tokens.non_alphanum ([!@#$%\^&*()\[\]{}/?=+\-\\|,<.>;:])
839
- lang.java.tokens.non_alphanum.format white
840
- lang.java.indent.size 4
841
- lang.java.indent.auto true
842
- lang.java.indent.roundup false
843
- #lang.java.indent.using_tabs true
844
- lang.java.indent.indenters (\{)
845
- lang.java.indent.unindenters (\})
846
- lang.java.indent.preventers (\".+?[^\\]\")|('.+?[^\\]')|(\/\/.*)
847
- lang.java.indent.ignore ^(.+:|\s*?)$
848
- lang.java.indent.closers true
849
- lang.java.context.ignore ^(.+:|\s*\{?)$
850
- lang.java.closers.for.regexp for$
851
- lang.java.closers.for.closer { |m| "( $i = 0; $i < limit; $i++ ) {\n%_\n}" }
852
- lang.java.column_delimiters =|:|,
853
-
854
- # C
855
-
856
- lang.c.filemask \.(c(pp|xx)?|h)$
857
- lang.c.format.default white bold
858
- lang.c.format.selection inverse
859
- lang.c.format.found yellow inverse
860
- lang.c.tokens.doublequoted_strings (\".*?[^\\]\")
861
- lang.c.tokens.doublequoted_strings.format green bold
862
- lang.c.tokens.singlequoted_strings ('.*?[^\\]')
863
- lang.c.tokens.singlequoted_strings.format green bold
864
- lang.c.tokens.reserved_words \b(if|double|break|else|byte|case|int|return|short|char|long|static|void|for|super|continue|goto|switch|while)\b
865
- lang.c.tokens.reserved_words.format white
866
- lang.c.tokens.constants \b([A-Z_]+|[A-Z_][A-Z0-9_]+)\b
867
- lang.c.tokens.constants.format yellow bold
868
- lang.c.tokens.comments (\/\/.*)
869
- lang.c.tokens.comments.format 8 bold
870
- lang.c.comment_string "// "
871
- lang.c.tokens.preprocessor (^\s*#.*)
872
- lang.c.tokens.preprocessor.format yellow bold
873
- lang.c.tokens.long_comments.open \/\*
874
- lang.c.tokens.long_comments.close \*\/
875
- lang.c.tokens.long_comments.format 8 bold
876
- lang.c.tokens.non_alphanum ([!@#$%\^&*()\[\]{}/?=+\-\\|,<.>;:])
877
- lang.c.tokens.non_alphanum.format white
878
- lang.c.indent.size 4
879
- lang.c.indent.auto true
880
- lang.c.indent.roundup false
881
- #lang.c.indent.using_tabs true
882
- lang.c.indent.indenters (case|[{\[(]$)
883
- lang.c.indent.unindenters (case|^\s+[\]})])
884
- lang.c.indent.preventers (\".+?[^\\]\")|('.+?[^\\]')|(\/\/.*)
885
- lang.c.indent.ignore ^(.+:|\s*?)$
886
- lang.c.context.ignore ^(.+:|\s*\{?)$
887
-
888
- # Configuration files
889
-
890
- lang.conf.filemask (?:\.conf(?:ig)?|\.cfg|\.cnf|user_prefs|XF86Config)$
891
- lang.conf.format.default white
892
- lang.conf.format.selection inverse
893
- lang.conf.format.found yellow inverse
894
- lang.conf.tokens.commands ^\s*([^\s=#]+)
895
- lang.conf.tokens.commands.format cyan bold
896
- lang.conf.tokens.comments (^\s*#.*)
897
- lang.conf.tokens.comments.format yellow bold
898
- lang.conf.comment_string "# "
899
- lang.conf.tokens.doublequoted_strings (\".*?[^\\]\")
900
- lang.conf.tokens.doublequoted_strings.format green bold
901
- lang.conf.tokens.singlequoted_strings ('.*?[^\\]')
902
- lang.conf.tokens.singlequoted_strings.format green bold
903
- lang.conf.indent.size 4
904
- lang.conf.indent.auto true
905
- lang.conf.indent.roundup true
906
- #lang.conf.indent.using_tabs true
907
-
908
- # crontab
909
-
910
- lang.crontab.filemask (?:^|\/)crontab$
911
- lang.crontab.format.default white
912
- lang.crontab.format.selection inverse
913
- lang.crontab.format.found yellow inverse
914
- lang.crontab.tokens.comments (^\s*#.*)
915
- lang.crontab.tokens.comments.format yellow bold
916
- lang.crontab.comment_string "# "
917
- lang.crontab.tokens.schedule ^((?:[0-9\/*,-]+\s+){5})
918
- lang.crontab.tokens.schedule.format cyan bold
919
- lang.crontab.tokens.commands ^(\S+=.+)
920
- lang.crontab.tokens.commands.format cyan
921
- lang.crontab.indent.size 4
922
- lang.crontab.indent.auto true
923
- lang.crontab.indent.roundup true
924
- #lang.crontab.indent.using_tabs true
925
-
926
- lang.fstab.filemask ^fstab$
927
- lang.fstab.format.default white
928
- lang.fstab.format.selection inverse
929
- lang.fstab.format.found yellow inverse
930
- lang.fstab.tokens.comments (^\s*#.*)
931
- lang.fstab.tokens.comments.format yellow bold
932
- lang.fstab.comment_string "# "
933
- lang.fstab.indent.size 4
934
- lang.fstab.indent.auto true
935
- lang.fstab.indent.roundup true
936
- #lang.fstab.indent.using_tabs true
937
-
938
- # SQL
939
-
940
- lang.sql.filemask \.sql$
941
- lang.sql.format.default white bold
942
- lang.sql.format.selection inverse
943
- lang.sql.format.found yellow inverse
944
- lang.sql.indent.size 4
945
- lang.sql.indent.auto true
946
- lang.sql.indent.roundup true
947
- #lang.sql.indent.using_tabs true
948
- #lang.sql.tokens.reserved_words.case_insensitive \b(ABSOLUTE|ACCESS|ACTION|ADD|ADMIN|AFTER|ALIAS|ALL|ALLOCATE|AND|ANY|ARE|AS|ASC|ASSERTION|AT|AUDIT|AUTHORIZATION|AVG|BEFORE|BEGIN|BETWEEN|BIT_LENGTH|BOTH|BREADTH|BY|CASCADE|CASCADED|CASE|CAST|CATALOG|CHAR_LENGTH|CHARACTER_LENGTH|CHECK|CLASS|CLOSE|CLUSTER|COALESCE|COBOL|COLLATE|COLLATION|COLUMN|COMPLETION|COMPRESS|COMPUTED|CONCAT|CONNECT|CONNECTION|CONSTRAINT|CONSTRAINTS|CONSTRUCTOR|CONTINUE|CONVERT|CORRESPONDING|COUNT|CROSS|CURRENT_DATE|CURRENT_TIME|CURRENT_TIMESTAMP|CURRENT_USER|CURRENT|CURSOR|CYCLE|DATA|DAY|DBHIGH|DBKEY|DBLOW|DBMAC|DEALLOCATE|DECLARE|DECODE|DEFAULT|DEFERRABLE|DEFERRED|DEPTH|DEREF|DESC|DESCRIBE|DESCRIPTOR|DESTROY|DESTRUCTOR|DIAGNOSTICS|DICTIONARY|DISCONNECT|DISTINCT|DO|DOMAIN|EACH|ELEMENT|ELSE|ELSEIF|END-EXEC|END|EQUALS|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXISTS|EXTERNAL|EXTERNALLY|EXTRACT|FALSE|FILE|FIRST|FOR|FOREIGN|FORTRAN|FOUND|FROM|FULL|FUNCTION|GENERAL|GET|GLOBAL|GO|GOTO|GROUP|HAVING|HOUR|IDENTIFIED|IDENTITY|IF|IGNORE|IMMEDIATE|IN|INCREMENT|INDEX|INDICATOR|INITIAL|INITIALLY|INNER|INOUT|INPUT|INSENSITIVE|INSTEAD|INTERSECT|INTERVAL|INTO|IS|ISOLATION|JOIN|KEY|LABEL|LANGUAGE|LAST|LEADING|LEAVE|LEFT|LESS|LEVEL|LIKE|LIMIT|LOCAL|LOCK|LOOP|LOWER|MATCH|MAX|MAXEXTENTS|MIN|MINUS|MINUTE|MLSLABEL|MLS_LABEL_FORMAT|MODE|MODIFY|MODULE|MONTH|MOVE|MULTISET|NAMES|NATIONAL|NATURAL|NEW_TABLE|NEXT|NO|NOAUDIT|NOCOMPRESS|NONE|NOT|NOWAIT|NULL|NULLIF|NUMBER|NVL|OCTET_LENGTH|OF|OFF|OFFLINE|OID|OLD|OLD_TABLE|ON|ONLINE|ONLY|OPEN|OPERATION|OPERATORS|OPTION|OR|ORDER|OTHERS|OUT|OUTER|OUTPUT|OVERLAPS|PAD|PARAMETER|PARTIAL|PASCAL|PCTFREE|PENDANT|PLI|POSITION|PRECISION|PREORDER|PRESERVE|PRIMARY|PRIOR|PRIVATE|PRIVILEGES|PROCEDURE|PROTECTED|PUBLIC|RAW|READ|READUP|REAL|RECORD|RECURSIVE|REF|REFERENCES|REFERENCING|RELATIVE|RENAME|REPLACE|REPRESENTATION|RESIGNAL|RESOURCE|RESTRICT|RETURN|RETURNS|RIGHT|ROLE|ROUTINE|ROW|ROWID|ROWNUM|ROWS|SAVEPOINT|SCHEMA|SCROLL|SEARCH|SECOND|SECTION|SENSITIVE|SEQUENCE|SESSION|SESSION_USER|SET|SHARE|SIGNAL|SIMILAR|SIZE|SOME|SPACE|SPECIFIC|SQL|SQLCODE|SQLERROR|SQLEXCEPTION|SQLSTATE|SQLWARNING|START|STRUCTURE|SUBSTRING|SUCCESSFUL|SUM|SYNONYM|SYSDATE|SYSTEM_USER|TABLE|TEMPLATE|TEMPORARY|TEST|THAN|THEN|THERE|SQ92|TIMEZONE_HOUR|TIMEZONE_MINUTE|TO|TRAILING|TRANSACTION|TRANSLATE|TRANSLATION|TRIGGER|TRIM|TRUE|TUPLE|TYPE|UID|UNDER|UNION|UNIQUE|UNKNOWN|UPPER|USAGE|USER|USING|VALIDATE|VALUE|VALUES|VARIABLE|VARIANT|VIRTUAL|VARYING|VIEW|VISIBLE|VOID|WAIT|WHEN|WHENEVER|WHERE|WHILE|WITH|WITHOUT|WORK|WRITE|WRITEDOWN|WRITEUP|YEAR|ZONE)\b
949
- lang.sql.tokens.reserved_words.case_insensitive \b(ALL|AND|ANY|AS|ASC|BEGIN|BY|CASCADE|CASE|CAST|CHECK|COALESCE|COLUMN|CONSTRAINT|COUNT|CURRENT_DATE|CURRENT_TIME|CURRENT_TIMESTAMP|CURSOR|DECLARE|DEFAULT|DESC|DISTINCT|DO|ELSE|ELSEIF|END|EXCEPT|EXISTS|FALSE|FIRST|FOR|FOREIGN|FOUND|FROM|FULL|FUNCTION|GROUP|HAVING|HOUR|IF|IN|INCREMENT|INDEX|INNER|INPUT|INSTEAD|INTERSECT|INTERVAL|INTO|IS|JOIN|KEY|LANGUAGE|LAST|LEFT|LIKE|LIMIT|LOOP|MAX|MIN|NATURAL|NEXT|NO|NONE|NOT|NULL|NUMBER|OF|OFF|OLD|ON|ONLY|OR|ORDER|OUT|OUTER|PARTIAL|PRECISION|PRIMARY|REAL|RECORD|REF|REFERENCES|REPLACE|RESTRICT|RETURN|RETURNS|RIGHT|SCHEMA|SEQUENCE|SET|SUM|TABLE|TEMPORARY|THAN|THEN|TO|TRANSACTION|TRIGGER|TRUE|TYPE|UNION|UNIQUE|UPPER|USING|VALUE|VALUES|VARYING|VIEW|WHEN|WHERE|WHILE|WITH|WITHOUT|WORK)\b
950
- lang.sql.tokens.reserved_words.format white
951
- lang.sql.tokens.commands.case_insensitive \b(ALTER|COMMENT|COMMIT|CREATE|DELETE|DROP|EXEC|EXECUTE|FETCH|GRANT|INSERT|PERFORM|PREPARE|REVOKE|ROLLBACK|SELECT|UPDATE)\b
952
- lang.sql.tokens.commands.format cyan
953
- lang.sql.tokens.data_types.case_insensitive \b(BIT|BOOLEAN|CHAR|CHARACTER|DATE|DEC|DECIMAL|DOUBLE|FLOAT|INT|INTEGER|INTERVAL|LONG|NCHAR|NUMBER|NUMERIC|REAL|RECORD|ROW|SMALLINT|STRUCTURE|TIME|TIMESTAMP|TUPLE|VARCHAR|VARCHAR2)\b
954
- lang.sql.tokens.data_types.format brown
955
- lang.sql.tokens.comments (--.*)
956
- lang.sql.tokens.comments.format 8 bold
957
- lang.sql.comment_string "-- "
958
- lang.sql.tokens.singlequoted_strings ('.*?[^\\]')
959
- lang.sql.tokens.singlequoted_strings.format green bold
960
- lang.sql.tokens.typos (==)
961
- lang.sql.tokens.typos.format 15 bold
962
- lang.sql.tokens.non_alphanum ([!@#$%\^&*()\[\]{}/?=+\-\\|,<.>;:])
963
- lang.sql.tokens.non_alphanum.format white
964
- lang.sql.indent.indenters ((?:\(|BEGIN|DECLARE|FROM|LOOP|ORDER BY|SELECT|SET|WHERE)$)
965
- lang.sql.indent.unindenters (^\s+(?:\)|;|BEGIN|DECLARE|END))
966
- lang.sql.indent.preventers (\".+?[^\\]\")|('.+?[^\\]')
967
- lang.sql.context.ignore ^(\W+)$
968
-
969
- # Bash
970
-
971
- lang.bash.filemask (?:\.(?:ebuild|bash_profile|bashrc))$
972
- lang.bash.bangmask #!.*(?:ba)?sh\b
973
- lang.bash.format.default white bold
974
- lang.bash.format.selection inverse
975
- lang.bash.format.found yellow inverse
976
- lang.bash.indent.size 4
977
- lang.bash.indent.auto true
978
- lang.bash.indent.roundup true
979
- #lang.bash.indent.using_tabs true
980
- lang.bash.tabsize 4
981
- lang.bash.tokens.comments (^\s*#.*)
982
- lang.bash.tokens.comments.format 8 bold
983
- lang.bash.comment_string "# "
984
- lang.bash.tokens.singlequoted_strings ('.*?[^\\]')
985
- lang.bash.tokens.singlequoted_strings.format green bold
986
- lang.bash.tokens.doublequoted_strings (\".*?[^\\]\")
987
- lang.bash.tokens.doublequoted_strings.format green bold
988
- lang.bash.tokens.backquoted_strings (`.*?[^\\]`)
989
- lang.bash.tokens.backquoted_strings.format red bold
990
- lang.bash.indent.indenters (\{)
991
- lang.bash.indent.unindenters (\})
992
- lang.bash.indent.preventers (\".+?[^\\]\")|('.+?[^\\]')|(\/\/.*)
993
- lang.bash.indent.ignore ^(.+:|\s*?)$
994
-
995
- # Tcl
996
-
997
- lang.tcl.filemask \.tcl$
998
- lang.tcl.bangmask #!.*tcl
999
- lang.tcl.format.default white bold
1000
- lang.tcl.format.selection inverse
1001
- lang.tcl.format.found yellow inverse
1002
- lang.tcl.indent.size 4
1003
- lang.tcl.indent.auto true
1004
- lang.tcl.indent.roundup true
1005
- #lang.tcl.indent.using_tabs true
1006
- lang.tcl.tabsize 4
1007
- lang.tcl.tokens.comments (^\s*#.*)
1008
- lang.tcl.tokens.comments.format 8 bold
1009
- lang.tcl.comment_string "# "
1010
- lang.tcl.tokens.reserved_words \b(encoding|incr|pid|tcl_endOfWord|Tcl|eof|info|tcl_findLibrary|after|error|interp|pkg_mkIndex|tcl_startOfNextWord|append|eval|join|proc|tcl_startOfPreviousWord|array|exec|lappend|puts|tcl_wordBreakAfter|auto_execok|exit|lassign|pwd|tcl_wordBreakBefore|auto_import|expr|lindex|re_syntax|tcltest|auto_load|fblocked|linsert|read|tclvars|auto_mkindex|fconfigure|list|regexp|tell|auto_mkindex_old|fcopy|llength|registry|time|auto_qualify|file|load|regsub|trace|auto_reset|fileevent|lrange|rename|unknown|bgerror|filename|lrepeat|resource|unload|binary|flush|lreplace|return|unset|break|for|lsearch|scan|update|catch|foreach|lset|seek|uplevel|cd|format|lsort|set|upvar|clock|gets|memory|socket|variable|close|glob|msgcat|source|vwait|concat|global|namespace|split|while|continue|history|open|string|dde|http|package|subst|dict|if|parray|switch)\b
1011
- lang.tcl.tokens.reserved_words.format white
1012
- lang.tcl.tokens.variables (\$[A-Za-z_][A-Za-z_0-9]*)\b
1013
- lang.tcl.tokens.variables.format yellow bold
1014
- lang.tcl.tokens.doublequoted_strings (\".*?[^\\]\")
1015
- lang.tcl.tokens.doublequoted_strings.format green bold
1016
- lang.tcl.tokens.non_alphanum ([!@#$%\^&*()\[\]{}/?=+\-\\|,<.>;:])
1017
- lang.tcl.tokens.non_alphanum.format white
1018
- lang.tcl.indent.indenters (\{)
1019
- lang.tcl.indent.unindenters (\})
1020
- lang.tcl.indent.preventers (\".+?[^\\]\")|('.+?[^\\]')|(\/\/.*)
1021
-
1022
- lang.diff.filemask (?:\.(?:diff|patch)|COMMIT_EDITMSG)$
1023
- lang.diff.format.default white
1024
- lang.diff.format.selection inverse
1025
- lang.diff.format.found yellow inverse
1026
- lang.diff.indent.size 4
1027
- lang.diff.indent.auto false
1028
- #lang.diff.indent.using_tabs true
1029
- lang.diff.tabsize 4
1030
- lang.diff.tokens.oldfile (^--- .+$)
1031
- lang.diff.tokens.oldfile.format red bold
1032
- lang.diff.tokens.newfile (^\+\+\+ .+$)
1033
- lang.diff.tokens.newfile.format green bold
1034
- lang.diff.tokens.oldline (^-.+$)
1035
- lang.diff.tokens.oldline.format red bold
1036
- lang.diff.tokens.newline (^\+.+$)
1037
- lang.diff.tokens.newline.format green bold
1038
- lang.diff.tokens.location (^@@.+$)
1039
- lang.diff.tokens.location.format green
1040
- lang.diff.tokens.filediff (^Only in .+$)
1041
- lang.diff.tokens.filediff.format magenta bold
1042
- lang.diff.tokens.diff_command (^diff .+$)
1043
- lang.diff.tokens.diff_command.format 13 bold
1044
-
1045
- lang.yaml.filemask (?:\.ya?ml)$
1046
- lang.yaml.bangmask ^---(?:.[^/]|$)
1047
- lang.yaml.format.default white bold
1048
- lang.yaml.format.selection inverse
1049
- lang.yaml.format.found yellow inverse
1050
- lang.yaml.indent.size 4
1051
- lang.yaml.indent.auto false
1052
- lang.yaml.indent.roundup false
1053
- lang.yaml.tabsize 8
1054
- lang.yaml.tokens.value_indicator (:)(?: |$)
1055
- lang.yaml.tokens.value_indicator.format white
1056
- lang.yaml.tokens.key_indicator (\? )
1057
- lang.yaml.tokens.key_indicator.format white
1058
- lang.yaml.tokens.nested_series (?:^|[^-])(- )
1059
- lang.yaml.tokens.nested_series.format magenta bold
1060
- lang.yaml.tokens.series_separator (,)
1061
- lang.yaml.tokens.series_separator.format white
1062
- lang.yaml.tokens.inline_series ([\[\]])
1063
- lang.yaml.tokens.inline_series.format white
1064
- lang.yaml.tokens.inline_keyed ([{}])
1065
- lang.yaml.tokens.inline_keyed.format white
1066
- lang.yaml.tokens.doublequoted_strings (\".*?[^\\]\"|\"\")
1067
- lang.yaml.tokens.doublequoted_strings.format green bold
1068
- lang.yaml.tokens.singlequoted_strings ('.*?[^\\]'|'')
1069
- lang.yaml.tokens.singlequoted_strings.format green bold
1070
- lang.yaml.tokens.block_scalar (\|[0-9+-]*)$
1071
- lang.yaml.tokens.block_scalar.format blue bold
1072
- lang.yaml.tokens.folded_scalar (>[0-9+-]*)$
1073
- lang.yaml.tokens.folded_scalar.format blue bold
1074
- lang.yaml.tokens.document_header ^(---.*)$
1075
- lang.yaml.tokens.document_header.format 10 bold
1076
- lang.yaml.tokens.document_terminator ^(\.\.\.)
1077
- lang.yaml.tokens.document_terminator.format 10
1078
- lang.yaml.tokens.directive_indicator ^(%.*)
1079
- lang.yaml.tokens.directive_indicator.format 10
1080
- lang.yaml.tokens.comment_indicator (#.+)
1081
- lang.yaml.tokens.comment_indicator.format 8 bold
1082
- lang.yaml.comment_string "# "
1083
- lang.yaml.tokens.anchor_indicator (&\w+)
1084
- lang.yaml.tokens.anchor_indicator.format red bold
1085
- lang.yaml.tokens.alias_indicator (\*\w+)
1086
- lang.yaml.tokens.alias_indicator.format yellow
1087
- lang.yaml.tokens.tag (!\w*)
1088
- lang.yaml.tokens.tag.format yellow bold
1089
- lang.yaml.tokens.null (~|null)
1090
- lang.yaml.tokens.null.format red
1091
- lang.yaml.indent.size 4
1092
- lang.yaml.indent.auto true
1093
- lang.yaml.indent.roundup true
1094
- lang.yaml.indent.indenters :$
1095
- lang.yaml.indent.preventers (\".+?[^\\]\")|('.+?[^\\]')|(`.+?[^\\]`)|(^\s*#.*)
1096
- lang.yaml.indent.ignore ^\s*$
1097
-
1098
- lang.haml.filemask \.haml$
1099
- lang.haml.format.default white bold
1100
- lang.haml.format.selection inverse
1101
- lang.haml.format.found yellow inverse
1102
- lang.haml.tabsize 8
1103
- lang.haml.indent.size 2
1104
- lang.haml.indent.auto true
1105
- lang.haml.indent.roundup true
1106
- lang.haml.indent.using_tabs false
1107
- lang.haml.tokens.code.open [=~-]
1108
- lang.haml.tokens.code.close $
1109
- lang.haml.tokens.code.format 9 bold
1110
- lang.haml.tokens.code.change_to ruby
1111
- lang.haml.tokens.tags (%\w+\b)
1112
- lang.haml.tokens.tags.format white
1113
- lang.haml.tokens.hash.open [{\[]
1114
- lang.haml.tokens.hash.close [}\]]
1115
- lang.haml.tokens.hash.format blue bold
1116
- lang.haml.tokens.hash.change_to ruby
1117
- lang.haml.tokens.class \.\w+
1118
- lang.haml.tokens.class.format cyan bold
1119
- lang.haml.tokens.id #\w+
1120
- lang.haml.tokens.id.format cyan
1121
- lang.haml.tokens.xml !!!
1122
- lang.haml.tokens.xml.format magenta bold
1123
- lang.haml.tokens.html_comment ^ *(\/.*)
1124
- lang.haml.tokens.html_comment.format 8 bold
1125
- lang.haml.tokens.line_joiner \|$
1126
- lang.haml.tokens.line_joiner.format 12 bold
1127
-
1128
- lang.sass.filemask \.sass$
1129
- lang.sass.format.default white
1130
- lang.sass.format.selection inverse
1131
- lang.sass.format.found yellow inverse
1132
- lang.sass.tabsize 2
1133
- lang.sass.indent.size 2
1134
- lang.sass.indent.auto true
1135
- lang.sass.indent.roundup true
1136
- lang.sass.indent.using_tabs false
1137
- lang.sass.tokens.rules ^[A-Za-z0-9,.#\s_-]+$
1138
- lang.sass.tokens.rules.format cyan bold
1139
- lang.sass.tokens.attributes ^ *(?::\S+|[A-Za-z0-9_-]+: )
1140
- lang.sass.tokens.attributes.format white bold
1141
- lang.sass.tokens.colour #(?:[A-Fa-f0-9]{3}){1,2}\b
1142
- lang.sass.tokens.colour.format yellow bold
1143
- lang.sass.tokens.units \d+ *(px|em|pt)\b
1144
- lang.sass.tokens.units.format brown
1145
- lang.sass.tokens.silent_comments (\/\/.*)
1146
- lang.sass.tokens.silent_comments.format 8 bold
1147
- lang.sass.tokens.loud_comments (\/\*.*)
1148
- lang.sass.tokens.loud_comments.format 8 bold
1149
- lang.sass.tokens.line_joiner \|$
1150
- lang.sass.tokens.line_joiner.format 12 bold
1151
- lang.sass.tokens.parent (&):
1152
- lang.sass.tokens.parent.format red bold
1153
-
1154
- lang.makefile.filemask Makefile$
1155
- lang.makefile.format.default white
1156
- lang.makefile.format.selection inverse
1157
- lang.makefile.format.found yellow inverse
1158
- lang.makefile.tokens.assignment_lhs ^\s*([^\s=]+)\s*[+?]?=
1159
- lang.makefile.tokens.assignment_lhs.format white bold
1160
- lang.makefile.tokens.comments (^\s*#.*)
1161
- lang.makefile.tokens.comments.format 8 bold
1162
- lang.makefile.comment_string "# "
1163
- lang.makefile.tokens.targets (^\S+):
1164
- lang.makefile.tokens.targets.format yellow bold
1165
- lang.makefile.tokens.references @?\$(?:\(.+?\)|\w+)
1166
- lang.makefile.tokens.references.format green bold
1167
- lang.makefile.tokens.keywords ^\s*(else|endif|export|ifdef|ifeq|ifndef|ifneq)
1168
- lang.makefile.tokens.keywords.format cyan bold
1169
- lang.makefile.indent.size 8
1170
- lang.makefile.indent.auto true
1171
- lang.makefile.indent.roundup true
1172
- lang.makefile.indent.using_tabs true
1173
- lang.makefile.indent.indenters ^(\S+:|ifdef|ifeq|ifndef|ifneq|else)
1174
- lang.makefile.indent.unindenters ^(\S+:|endif)
1175
- lang.makefile.indent.preventers (^\s*#.*)
1176
- lang.makefile.indent.ignore ^\s*$
1177
-
1178
- lang.bind.bangmask ^(@|\$TTL|;.*(?:bind|BIND|Bind))
1179
- lang.bind.format.default white bold
1180
- lang.bind.format.selection inverse
1181
- lang.bind.format.found yellow inverse
1182
- lang.bind.tokens.comments (;.*)
1183
- lang.bind.tokens.comments.format 8 bold
1184
- lang.bind.comment_string "; "
1185
- lang.bind.tokens.ttl \$TTL
1186
- lang.bind.tokens.ttl.format yellow bold
1187
- lang.bind.tokens.number \s(\d+)(?:[^0-9.mhdw]|$)
1188
- lang.bind.tokens.number.format blue bold
1189
- lang.bind.tokens.time \b(\d+)[mhdw]
1190
- lang.bind.tokens.time.format red bold
1191
- lang.bind.tokens.domain (?:[a-z][\w-]+\.)+[a-z][\w-]+\.?
1192
- lang.bind.tokens.domain.format cyan bold
1193
- lang.bind.tokens.ip4address \b\d+\.\d+\.\d+\.\d+\b
1194
- lang.bind.tokens.ip4address.format cyan
1195
- lang.bind.tokens.keywords1 \b(IN)\b
1196
- lang.bind.tokens.keywords1.format white
1197
- lang.bind.tokens.keywords2 \b(A|CNAME|MX|NS|SOA|TXT)\b
1198
- lang.bind.tokens.keywords2.format yellow bold
1199
- lang.bind.tokens.doublequoted_strings (\".*?[^\\]\"|\"\")
1200
- lang.bind.tokens.doublequoted_strings.format green bold
1201
- lang.bind.indent.size 8
1202
- lang.bind.indent.auto true
1203
- lang.bind.indent.roundup true
1204
- lang.bind.indent.using_tabs false
1205
-
1206
- lang.markdown.filemask \.(?:md|markdown)
1207
- lang.markdown.format.default white
1208
- lang.markdown.format.selection inverse
1209
- lang.markdown.format.found yellow inverse
1210
- lang.markdown.tokens.title (^# .*)
1211
- lang.markdown.tokens.title.format 8 bold
1212
- lang.markdown.tokens.subtitle (^## .*)
1213
- lang.markdown.tokens.subtitle.format cyan bold
1214
- lang.markdown.tokens.subsubtitle (^###+ .*)
1215
- lang.markdown.tokens.subsubtitle.format cyan
1216
- lang.markdown.tokens.list_item ^\s*\*
1217
- lang.markdown.tokens.list_item.format white bold
1218
- lang.markdown.tokens.code ^(?: {4,}|\t)\s*.+
1219
- lang.markdown.tokens.code.format yellow bold
1220
- lang.markdown.indent.size 2
1221
- lang.markdown.indent.auto true
1222
- lang.markdown.indent.roundup true
1223
- lang.markdown.wrap_margin 80
1224
-
1225
-
1226
- # Custom configuration files can be included.
1227
- # If a setting is specified again, it overrides the previous setting given
1228
- # higher up in the configuration file(s).
1229
-
1230
- include ~/.diakonos/custom.conf
1231
-
1232
- # Uncomment this line if your terminal supports 256 colours.
1233
- #include ~/.diakonos/diakonos-256-colour.conf