aboutsummaryrefslogtreecommitdiffhomepage
path: root/data/sisu/conf/editor-syntax-etc/diakonos/diakonos.conf
blob: a3c3afe4e085342d0c5f5216c8bf214f670e14eb (plain)
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
logfile ~/.diakonos/diakonos.log

# When the cursor is view.margin.y lines or less from the top or
# bottom line, repeatedly scroll the screen view.jump.y lines until
# the cursor is more than view.margin.y lines from the top and
# bottom line.
# Similarly for view.margin.x and view.jump.x, with respect to the
# left-most and right-most screen columns.
view.margin.x 10
view.margin.y 5
view.jump.x 10
view.jump.y 5
view.scroll_amount 1
view.lookback 200
view.nonfilelines.visible false
view.nonfilelines.character ~
view.wrap.visual true

# bol_behaviour: This specifies where the cursor should go when the
# beginning-of-line key (the default is the Home key) is pressed.
#    zero: Always move to the left-most column of the line
#    first-char: Always move to the left-most non-whitespace character
#    alternating-zero: As with 'zero', unless the cursor is
#        already there, in which case, as with 'first-char'.
#    alternating-first-char: As with 'first-char', unless the cursor is
#        already there, in which case, as with 'zero'.
# bol_behavior is a synonym for bol_behaviour.
bol_behaviour alternating-first-char

# eol_behaviour: This specifies where the cursor should go when the
# end-of-line key (the default is the End key) is pressed.
#    end: Always move to the right-most column of the line
#    last-char: Always move to the right-most non-whitespace character
#    alternating-end: As with 'end', unless the cursor is
#        already there, in which case, as with 'last-char'.
#    alternating-last-char: As with 'last-char', unless the cursor is
#        already there, in which case, as with 'end'.
# eol_behavior is a synonym for eol_behaviour.
eol_behaviour alternating-end

# Ensures saved files end with a newline character by adding it if necessary.
eof_newline false

delete_newline_on_delete_to_eol false

# Specifies whether the cursor should be at the end (false) of found text, or the
# beginning (true).
found_cursor_start false

max_clips 30

# The maximum number of undo lines held in memory per file
# Smaller files will be able to have more undo levels.
max_undo_lines 16384

convert_tabs false

diff_command diff -U 5

# Whether or not to use /usr/bin/file to determine whether files are readable
# before opening them.
use_magic_file false

# ---------------------------------------------------------------------
# Status Line

# Use "% syntax" as placeholders
# e.g. %d for decimal integers, %s for strings
status.left -- %s %s%s%s -- (%s) --%s
status.right - Buf %d of %d --- L%3d/%3d C%2d --
# The string to use to fill in the space between the left and right sides
# of the status line.
status.filler -
status.modified_str (modified)
status.selecting_str (selecting)
status.unnamed_str (unnamed file)
status.read_only_str (read-only)
# status.vars: any subset of:
# line row num_lines col filename modified type buffer_number num_buffers selecting read_only
status.vars filename modified read_only selecting type @git_branch buffer_number num_buffers row num_lines col
status.format inverse

# ---------------------------------------------------------------------
# Context Line

# The context line shows the wrapping context of the cursor, with respect to
# indentation.  This shows the current code block(s) that the cursor is in.

context.visible false
context.combined false
context.max_levels 4
context.format inverse
context.separator |
context.separator.format red inverse
#context.max_segment_width 10

# ---------------------------------------------------------------------
# Interaction Line

# Duration of "alert" blink (in seconds) when user has made an invalid choice
interaction.blink_duration 0.05
interaction.blink_string ***********************************************************
# Time to wait (in seconds) before accepting user keystrokes when prompting for
# a choice which has no default
interaction.choice_delay 3

# ---------------------------------------------------------------------
# Key Configuration
# key <keystroke> [<keystroke>...];<function> [<arg>[,<arg>...]]
# If no function is specified, it unmaps any previous mapping.
# i.e. key <keystroke> [<keystroke>...];
# <keystroke> can be "keycode##" to specify specific keycodes.
# e.g. key keycode8;delete
# Note the lack of space after the word keycode.

# To obtain the string to use for any keychain, use the printKeychain command
# (default alt+k).

# The shell, execute and pasteShellResult commands can take variables:

# $f  current buffer's filepath
# $F  all current buffer filepaths, space-separated
# $i  get a string from user input
# $c  temp file containing current clipboard text
# $k  temp file containing current klipper (KDE clipboard) text
# $s  temp file containing currently selected text

key left;cursorLeft
key esc [ D;cursorLeft
key right;cursorRight
key esc [ C;cursorRight
key up;cursorUp
key esc [ A;cursorUp
key down;cursorDown
key esc [ B;cursorDown
key home;cursorBOL
key esc O H;cursorBOL
key esc [ H;cursorBOL
key esc [ 1 ~   cursorBOL
key esc [ 7 ~   cursorBOL
key end;cursorEOL
key esc O F;cursorEOL
key esc [ F;cursorEOL
key esc [ 4 ~;cursorEOL
key esc [ 8 ~;cursorEOL
key pageup;pageUp
key pagedown;pageDown
#key ctrl+a;cursorBOL
key ctrl+e;cursorEOL
key alt+<;cursorBOF
key esc [ 1 ; 5 H   cursorBOF
key alt+>;cursorEOF
key esc [ 1 ; 5 F   cursorEOF
key alt+,;cursorTOV
key alt+.;cursorBOV
key ctrl+j;cursorReturn
key ctrl+l;cursorReturn "forward"
key alt+n;scrollDown
key alt+p;scrollUp
key esc up;scrollUp
key esc [ 1 ; 3 A    scrollUp
key esc [ 1 ; 5 A    scrollUp
key keycode520       scrollUp
key keycode521       scrollUp
key esc down;scrollDown
key esc [ 1 ; 3 B    scrollDown
key esc [ 1 ; 5 B    scrollDown
key keycode513       scrollDown
key keycode514       scrollDown
key esc right;seek /(?:^|\W)(\w)|\w(\W|$)/
key esc [ 1 ; 3 C    seek /\w(\W|$)|(?:^|\W)(\w)/
key esc [ 1 ; 5 C    seek /\w(\W|$)|(?:^|\W)(\w)/
key keycode517       seek /\w(\W|$)|(?:^|\W)(\w)/
key keycode518       seek /\w(\W|$)|(?:^|\W)(\w)/
key esc left;seek /\w(\W|$)|(?:^|\W)(\w)/, "up"
key esc [ 1 ; 3 D    seek /\w(\W|$)|(?:^|\W)(\w)/, "up"
key esc [ 1 ; 5 D    seek /\w(\W|$)|(?:^|\W)(\w)/, "up"
key keycode515       seek /\w(\W|$)|(?:^|\W)(\w)/, "up"
key keycode516       seek /\w(\W|$)|(?:^|\W)(\w)/, "up"

key ctrl+g;goToLineAsk
key alt+b alt+b;toggleBookmark
key alt+b alt+n;goToNextBookmark
key alt+b alt+p;goToPreviousBookmark
key alt+b alt+a;addNamedBookmark
key alt+b alt+r;removeNamedBookmark
key alt+b alt+g;goToNamedBookmark
key alt+b alt+!;addNamedBookmark 1
key alt+b alt+@;addNamedBookmark 2
key alt+b alt+#;addNamedBookmark 3
key alt+b alt+$;addNamedBookmark 4
key alt+b alt+%;addNamedBookmark 5
key alt+b alt+1;goToNamedBookmark 1
key alt+b alt+2;goToNamedBookmark 2
key alt+b alt+3;goToNamedBookmark 3
key alt+b alt+4;goToNamedBookmark 4
key alt+b alt+5;goToNamedBookmark 5
key alt+t;goToTag
key alt+);goToTagUnderCursor
key alt+(;popTag

key backspace;backspace
key ctrl+h;backspace
key del;delete
#key ctrl+k;deleteLine
key ctrl+k;deleteAndStoreLine
key ctrl+alt+k;deleteToEOL
key esc del;collapseWhitespace
key esc [ 3 ; 3 ~    collapseWhitespace
key alt+w            wrap_paragraph
key alt+a            columnize
key enter;carriageReturn
key tab;parsedIndent
#key tab;indent
#key ctrl+alt+l;unindent
key alt+i;indent
key esc i;indent
key esc I;unindent
key esc [ Z       unindent
key keycode353    unindent
#key tab;insertSpaces 4
#key tab;insertTab
key ctrl+t;insertTab
key alt+j    joinLines

key f1            help
key esc O P       help
key esc [ 1 1 ~   help
key esc [ [ A     help
key f11;loadConfiguration
key esc [ 2 3 ~;loadConfiguration
key f12;openFile "~/.diakonos/diakonos.conf"
key esc [ 2 4 ~;openFile "~/.diakonos/diakonos.conf"

key ctrl+alt+r;redraw
key esc C;toggleSessionSetting 'context.visible', DO_REDRAW
key ctrl+alt+d;toggleSessionSetting 'display'
key esc W;toggleSessionSetting 'view.wrap.visual', DO_REDRAW

key ctrl+n;newFile
key ctrl+o;openFileAsk
key ctrl+s;saveFile
key alt+s;saveFileAs
key ctrl+w;closeFile
key ctrl+alt+o;revert
key alt+!;setReadOnly
key ctrl+q;quit
key esc T;setBufferType

key alt+1;switchToBufferNumber 1
key alt+2;switchToBufferNumber 2
key alt+3;switchToBufferNumber 3
key alt+4;switchToBufferNumber 4
key alt+5;switchToBufferNumber 5
key alt+6;switchToBufferNumber 6
key alt+7;switchToBufferNumber 7
key alt+8;switchToBufferNumber 8
key alt+9;switchToBufferNumber 9
key alt+0;switchToBufferNumber 10
key alt+-;switchToPreviousBuffer
key alt+=;switchToNextBuffer
key ctrl+alt+b    list_buffers

key ctrl+space;anchorSelection
#key ctrl+space;toggleSelection
key ctrl+c;copySelection
key ctrl+x;cutSelection
key alt+u;removeSelection
key ctrl+a    select_all

# If you are using KDE, you can uncomment these lines to synchronize
# the Diakonos clipboard with the KDE clipboard
#key ctrl+c      copy_selection_to_klipper
#key ctrl+x      cut_selection_to_klipper
#key ctrl+v      paste_from_klipper
#key ctrl+k      delete_and_store_line_to_klipper
#key ctrl+alt+k  delete_to_eol_to_klipper

key ctrl+b         select_block
# Select file diff in a patch
key ctrl+alt+d f   select_block /^Index: /, /^(Index: |$)/, false
# Select a diff hunk in a patch
key ctrl+alt+d h   select_block /^@@ /, /^(@@ |$)/, false
key esc #          comment_out
key esc @          uncomment

key ctrl+alt+v;showClips
key ctrl+v;paste
key ctrl+y;unundo
key ctrl+z;undo
#key ctrl+z;suspend
key suspend;undo
#key suspend;suspend

key ctrl+f;find
#key ctrl+f;find "down", CASE_SENSITIVE
key alt+f;find "down", CASE_SENSITIVE
#key alt+f;findExact
key ctrl+alt+f;find "up"
#key ctrl+alt+f;find "up", CASE_SENSITIVE
key f3;findAgain "down"
key esc [ [ C        findAgain "down"
key esc O R;findAgain "down"
key esc [ 1 3 ~;findAgain "down"
key f15;findAgain "up"
key esc [ 2 8 ~   findAgain "up"
key esc O 2 R;findAgain "up"
key ctrl+r   searchAndReplace
key alt+r    searchAndReplace CASE_SENSITIVE
key ctrl+alt+u;clearMatches
key alt+c;close_code

key f2            shell
key esc O Q       shell
key esc [ 1 2 ~   shell
key esc [ [ B     shell
key f8;execute
key esc F;execute "glark '$i' $F | less"
key esc d         shell "diff -U 5 -w -b $c $s", "clipboard.diff"
#key esc F;shell "grep -n '$i' $F"
#key esc F;execute "grep -n '$i' $F | less"
#key esc l         execute "aspell check $f"
key f14           evaluate
key esc O 2 Q     evaluate
key esc [ 2 6 ~   evaluate
key ctrl+alt+c    shell "ruby -c $f"

# To use the following:
# 1) Copy to the clipboard some Ruby code which operates on stdin text and outputs to stdout.
# 2) Select (highlight) some text to operate on.
# 3) Activate this pasteShellResult command.
# 4) The selected text should now be replaced with the script's results.
key ctrl+alt+p;pasteShellResult "cat $s | ruby $c"
#key ctrl+alt+p;pasteShellResult "cat $s | perl $c"
#key ctrl+alt+p;pasteShellResult "cat $s | python $c"
#key ctrl+alt+p;pasteShellResult "cat $s | sed -f $c"
#key ctrl+alt+p;pasteShellResult "cat $s | awk -f $c"

key alt+k        printKeychain
key esc K        print_mapped_function
key alt+m;toggleMacroRecording
key f4            playMacro
key esc O S       playMacro
key esc [ 1 4 ~   playMacro
key esc [ [ D     playMacro
key f5            loadScript
key esc [ 1 5 ~   loadScript
key esc [ [ E     loadScript
key f6;repeatLast
key esc [ 1 7 ~;repeatLast
key f7;operateOnEachLine
key f19;operateOnString
key esc [ 1 8 ; 2 ~    operateOnString
key esc f7             operateOnLines
key esc [ 1 8 ; 3 ~    operateOnLines
key keycode319         operateOnLines

# Emacs-like keychains

#key ctrl+s;find
#key ctrl+x ctrl+c;quit
#key ctrl+x ctrl+f;openFileAsk
#key ctrl+x ctrl+s;saveFile

# ---------------------------------------------------------------------
# Colour Definitions
#
# colour <integer greater than 7> <foreground colour> <background colour>
#
# For a list of colour names, see the list of format codes in the
# Language Definitions section, below.
#
# With this colour command you can set a different background colour than the
# terminal default.
#
# color is a synonym for colour.
colour 8 white blue
colour 9 white red
colour 10 white magenta
colour 11 yellow blue
colour 12 white green
colour 13 white brown
colour 14 black cyan
colour 15 yellow red

# ---------------------------------------------------------------------
# Language Definitions
# For syntax highlighting and indentation.

# lang.<language>.tokens.<any name>[.case_insensitive] <regexp with one pair of parentheses identifying the token>
# lang.<language>.tokens.<any name>.format <format codes>
# <format codes> can be any subset of:
#     normal black red green brown blue magenta cyan white standout underline inverse blink dim bold
# The numbers of colour pairs (as defined by the configuration command "colour")
# can also be used as format codes.
#
# indent.roundup: If a line's indentation is not evenly divisible by the
# indent.size, and indent.roundup is true, then the non-integer indentation
# level will be rounded up.  If indent.roundup is false, then it will be
# rounded down.
# e.g. given an indent.size of 4, and a line with 6 spaces, indent.roundup
# true will make Diakonos consider the line indented 2 levels.  With
# indent.roundup false, it will be considered indented 1 level.
#
# The filemask can also be used to specify specific filenames which
# don't conform to the standard extensions for a language.

# Text (default)

lang.text.format.default white
lang.text.format.selection inverse
lang.text.format.found yellow inverse
lang.text.indent.size 2
lang.text.indent.auto true
lang.text.indent.roundup false
#lang.text.indent.using_tabs true
lang.text.tabsize 8
lang.text.wrap_margin 80

# Diakonos help files

lang.dhf.filemask \.dhf
lang.dhf.format.default white
lang.dhf.format.selection inverse
lang.dhf.format.found yellow inverse
lang.dhf.tokens.tags (^Tags: .+)
lang.dhf.tokens.tags.format blue
lang.dhf.tokens.title (^# .*)
lang.dhf.tokens.title.format 8 bold
lang.dhf.tokens.subtitle (^## .*)
lang.dhf.tokens.subtitle.format cyan bold
lang.dhf.tokens.subsubtitle (^### .*)
lang.dhf.tokens.subsubtitle.format cyan
lang.dhf.tokens.keys <(.+?)>
lang.dhf.tokens.keys.format white bold
lang.dhf.indent.size 2
lang.dhf.indent.auto true
lang.dhf.indent.roundup true
lang.dhf.wrap_margin 80

# XML

lang.xml.filemask \.(xml|xsl|rdl|aiml|xhtml)$
lang.xml.format.default white
lang.xml.format.selection inverse
lang.xml.format.found yellow inverse
lang.xml.tabsize 8
lang.xml.indent.size 2
lang.xml.indent.auto true
lang.xml.indent.roundup true
#lang.xml.indent.using_tabs true
lang.xml.tokens.entities &\S+?;
lang.xml.tokens.entities.format magenta bold
lang.xml.tokens.code.open (<)(?:[^%]|$)
lang.xml.tokens.code.close (?:[^%]|^)(>)
lang.xml.tokens.code.format white bold
lang.xml.tokens.code.change_to xml_tag
lang.xml.tokens.comments.open (<!--)
lang.xml.tokens.comments.close (-->)
lang.xml.tokens.comments.format 8
lang.xml.tokens.comments.change_to xml_comment
lang.xml.comment_string <!--
lang.xml.comment_close_string " -->"
lang.xml.tokens.template.open \[@--
lang.xml.tokens.template.close --@\]
lang.xml.tokens.template.format brown
lang.xml.tokens.template.change_to perl
lang.xml.closers.tag.regexp <([^/> ]*)
lang.xml.closers.tag.closer { |m| "</" + m[ 1 ] + ">" }
lang.xml_tag.format.default white bold
lang.xml_tag.format.selection inverse
lang.xml_tag.format.found yellow inverse
lang.xml_tag.tabsize 8
lang.xml_tag.indent.size 2
lang.xml_tag.indent.auto true
lang.xml_tag.indent.roundup true
#lang.xml_tag.indent.using_tabs true
lang.xml_tag.tokens.doublequoted_strings (\".*?[^\\]\")
lang.xml_tag.tokens.doublequoted_strings.format green bold
lang.xml_tag.tokens.singlequoted_strings ('.*?[^\\]')
lang.xml_tag.tokens.singlequoted_strings.format green bold
lang.xml_tag.tokens.non_alphanum ([@!#$%^&*()\[\]{}/?=+\-\\|,<.>;:])
lang.xml_tag.tokens.non_alphanum.format white
lang.xml_tag.tokens.namespaces ([a-zA-Z_-]+):
lang.xml_tag.tokens.namespaces.format yellow bold
lang.xml_comment.format.default 8
lang.xml_comment.format.selection inverse
lang.xml_comment.format.found yellow inverse
lang.xml_comment.tabsize 8
lang.xml_comment.indent.size 2
lang.xml_comment.indent.auto true
lang.xml_comment.indent.roundup true
#lang.xml_comment.indent.using_tabs true

lang.html.filemask \.([rx]?html?|php|asp)$
lang.html.format.default white
lang.html.format.selection inverse
lang.html.format.found yellow inverse
lang.html.tabsize 8
lang.html.indent.size 2
lang.html.indent.auto true
lang.html.indent.roundup true
#lang.html.indent.using_tabs true
lang.html.tokens.code.open (<)(?:[^%]|$)
lang.html.tokens.code.close (?:[^%]|^)(>)
lang.html.tokens.code.format white bold
lang.html.tokens.code.change_to html_tag
lang.html.tokens.entities &\S+?;
lang.html.tokens.entities.format magenta bold
lang.html.tokens.eruby.open <%
lang.html.tokens.eruby.close %>
lang.html.tokens.eruby.format 9 bold
lang.html.tokens.eruby.change_to ruby
lang.html.tokens.ezamar.open <\?r
lang.html.tokens.ezamar.close \?>
lang.html.tokens.ezamar.format 9 bold
lang.html.tokens.ezamar.change_to ruby
lang.html.tokens.ezamar-value.open \#\{
lang.html.tokens.ezamar-value.close \}
lang.html.tokens.ezamar-value.format 9 bold
lang.html.tokens.ezamar-value.change_to ruby
lang.html.tokens.php.open <\?(?:php)?
lang.html.tokens.php.close \?>
lang.html.tokens.php.format 10 bold
lang.html.tokens.php.change_to php
lang.html.tokens.comments.open (<!--)
lang.html.tokens.comments.close (-->)
lang.html.tokens.comments.format 8
lang.html.tokens.comments.change_to html_comment
lang.html.comment_string <!--
lang.html.comment_close_string " -->"
lang.html.closers.tag.regexp <([^/> ]*)
lang.html.closers.tag.closer { |m| "</" + m[ 1 ] + ">" }
lang.html_tag.format.default white bold
lang.html_tag.format.selection inverse
lang.html_tag.format.found yellow inverse
lang.html_tag.tabsize 8
lang.html_tag.indent.size 4
lang.html_tag.indent.auto true
lang.html_tag.indent.roundup true
#lang.html_tag.indent.using_tabs true
lang.html_tag.tokens.attribute (href)
lang.html_tag.tokens.attribute.format green bold
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
lang.html_tag.tokens.elements.format cyan
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
lang.html_tag.tokens.attributes.format white
lang.html_tag.tokens.doublequoted_strings (\".*?[^\\]\")
lang.html_tag.tokens.doublequoted_strings.format green bold
lang.html_tag.tokens.singlequoted_strings ('.*?[^\\]')
lang.html_tag.tokens.singlequoted_strings.format green bold
lang.html_tag.tokens.non_alphanum ([@!#$%^&*()\[\]{}/?=+\-\\|,<.>;:])
lang.html_tag.tokens.non_alphanum.format white
lang.html_comment.format.default 8
lang.html_comment.format.selection inverse
lang.html_comment.format.found yellow inverse
lang.html_comment.tabsize 8
lang.html_comment.indent.size 4
lang.html_comment.indent.auto true
lang.html_comment.indent.roundup true
#lang.html_comment.indent.using_tabs true

# CSS

lang.css.filemask \.css$
lang.css.format.default white
lang.css.format.selection inverse
lang.css.format.found yellow inverse
lang.css.tabsize 8
lang.css.indent.size 4
lang.css.indent.auto true
lang.css.indent.roundup true
#lang.css.indent.using_tabs true
lang.css.indent.indenters (\{)
lang.css.indent.unindenters (\})
lang.css.indent.preventers (\".+?[^\\]\")|('.+?[^\\]')|(\/\/.*)
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*:
lang.css.tokens.properties.format white bold
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
lang.css.tokens.colours.format yellow bold
lang.css.tokens.long_comments.open \/\*
lang.css.tokens.long_comments.close \*\/
lang.css.tokens.long_comments.format 8 bold
lang.css.comment_string /*
lang.css.comment_close_string " */"
lang.css.tokens.numbers \b([0-9]+\.[0-9]+|[0-9]+)
lang.css.tokens.numbers.format blue bold
lang.css.tokens.units [^A-Za-z](em|pt|px)\b
lang.css.tokens.units.format cyan
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
lang.css.tokens.html_elements.format green
lang.css.tokens.values \b(auto|block|inherit|inline|larger|none|smaller|solid)\b
lang.css.tokens.values.format blue bold
lang.css.column_delimiters :|,

# Ruby

lang.ruby.filemask (?:[Rr]akefile)|(?:\.(?:rb|gem(?:spec)?)$)
lang.ruby.bangmask ruby
lang.ruby.format.default white bold
lang.ruby.format.selection inverse
lang.ruby.format.found yellow inverse
lang.ruby.tokens.reserved_words \b(__FILE__|and|def|end|in|or|self|unless|__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|if|not|return|undef|yield)\b
lang.ruby.tokens.reserved_words.format white
lang.ruby.tokens.constants \b([A-Z_]+|[A-Z_][A-Z0-9_]+)\b
lang.ruby.tokens.constants.format yellow bold
lang.ruby.tokens.symbols [^:](:[a-zA-Z_][a-zA-Z_0-9]*)
lang.ruby.tokens.symbols.format white bold
lang.ruby.tokens.non_alphanum [@!#$%^&*()\[\]{}/?=+\-\\|,<.>;~]
lang.ruby.tokens.non_alphanum.format white
lang.ruby.tokens.instance_variables (@[A-Za-z_][A-Za-z_0-9]*)
lang.ruby.tokens.instance_variables.format white bold
lang.ruby.tokens.comments (#.*)
lang.ruby.tokens.comments.format 8 bold
lang.ruby.comment_string #
lang.ruby.tokens.regular_expressions (\/.+?[^\\]\/)
lang.ruby.tokens.regular_expressions.format red bold
lang.ruby.tokens.regular_expressions2 (%r\{.+?[^\}]\})
lang.ruby.tokens.regular_expressions2.format red bold
lang.ruby.tokens.doublequoted_strings (\".*?[^\\]\"|\"\")
lang.ruby.tokens.doublequoted_strings.format green bold
lang.ruby.tokens.interpolated_string.open (%Q?\{)
lang.ruby.tokens.interpolated_string.close (\})
lang.ruby.tokens.interpolated_string.format green bold
lang.ruby.tokens.interpolated_string.change_to interpolated_ruby
lang.interpolated_ruby.format.default green bold
lang.interpolated_ruby.tokens.interpolation.open (#\{)
lang.interpolated_ruby.tokens.interpolation.close (\})
lang.interpolated_ruby.tokens.interpolation.format 12 bold
lang.interpolated_ruby.tokens.interpolation.change_to ruby
lang.ruby.tokens.singlequoted_strings ('.*?[^\\]'|'')
lang.ruby.tokens.singlequoted_strings.format green bold
lang.ruby.tokens.backquoted_strings (`.*?[^\\]`|``)
lang.ruby.tokens.backquoted_strings.format red bold
lang.ruby.tokens.interpolated_exec_string.open (%x\{)
lang.ruby.tokens.interpolated_exec_string.close (\})
lang.ruby.tokens.interpolated_exec_string.format red bold
lang.ruby.tokens.interpolated_exec_string.change_to interpolated_exec_ruby
lang.interpolated_exec_ruby.format.default red bold
lang.interpolated_exec_ruby.tokens.interpolation.open (#\{)
lang.interpolated_exec_ruby.tokens.interpolation.close (\})
lang.interpolated_exec_ruby.tokens.interpolation.format 9 bold
lang.interpolated_exec_ruby.tokens.interpolation.change_to ruby
lang.ruby.tokens.character_codes \W(\?\S)
lang.ruby.tokens.character_codes.format magenta bold
lang.ruby.tokens.long_comments.open ^=begin
lang.ruby.tokens.long_comments.close ^=end
lang.ruby.tokens.long_comments.format 8 bold
lang.ruby.tokens.sql_string.open (<<-EOSQL)
lang.ruby.tokens.sql_string.close (EOSQL)
lang.ruby.tokens.sql_string.format 1
lang.ruby.tokens.sql_string.change_to sql
lang.ruby.indent.size 2
lang.ruby.indent.auto true
lang.ruby.indent.roundup true
#lang.ruby.indent.using_tabs true
lang.ruby.tabsize 2
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
lang.ruby.indent.unindenters ^\s*(end|else|elsif|ensure|when|rescue)\b|(^\s+[\]})])
lang.ruby.indent.preventers (\".+?[^\\]\")|('.+?[^\\]')|(`.+?[^\\]`)|(\/.+?[^\\]\/)|(^\s*#.*)|\S\s+if
lang.ruby.indent.ignore ^\s*$
lang.ruby.context.ignore ^=(begin|end)$
lang.ruby.column_delimiters =>?|:|,

# PHP

lang.php.filemask \.php\d?$
lang.php.bangmask php
lang.php.format.default white bold
lang.php.format.selection inverse
lang.php.format.found yellow inverse
lang.php.tokens.doublequoted_strings (\".*?[^\\]\")
lang.php.tokens.doublequoted_strings.format green bold
lang.php.tokens.singlequoted_strings ('.*?[^\\]')
lang.php.tokens.singlequoted_strings.format green bold
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
lang.php.tokens.reserved_words.format white
lang.php.tokens.constants \b([A-Z_]+|[A-Z_][A-Z0-9_]+)\b
lang.php.tokens.constants.format yellow bold
lang.php.tokens.comments (\/\/.*)
lang.php.tokens.comments.format 8 bold
lang.php.comment_string //
lang.php.tokens.preprocessor (^\s*#.*)
lang.php.tokens.preprocessor.format yellow bold
lang.php.tokens.non_alphanum ([!@#$%\^&*()\[\]{}/?=+\-\\|,<.>;:])
lang.php.tokens.non_alphanum.format white
lang.php.tokens.long_comments.open \/\*
lang.php.tokens.long_comments.close \*\/
lang.php.tokens.long_comments.format 8 bold
lang.php.tokens.sql_string.open (<<<EOS)
lang.php.tokens.sql_string.close (EOS)
lang.php.tokens.sql_string.format 1
lang.php.tokens.sql_string.change_to sql
lang.php.tokens.js.open (<<<EOJS)
lang.php.tokens.js.close (EOJS)
lang.php.tokens.js.format 12 bold
lang.php.tokens.js.change_to java
lang.php.indent.size 4
lang.php.indent.auto true
lang.php.indent.roundup false
#lang.php.indent.using_tabs true
lang.php.indent.indenters ([{\[(]$)
lang.php.indent.unindenters (^\s+[\]})])
lang.php.indent.preventers (\".+?[^\\]\")|('.+?[^\\]')|(\/\/.*)
lang.php.indent.ignore ^(.+:|\s*?)$
lang.php.context.ignore ^(.+:|\s*\{?)$

# Perl

lang.perl.filemask \.(?:pl|pm)$
lang.perl.bangmask perl
lang.perl.format.default white bold
lang.perl.format.selection inverse
lang.perl.format.found yellow inverse
lang.perl.tokens.comments (#.*)
lang.perl.tokens.comments.format 8 bold
lang.perl.comment_string #
lang.perl.tokens.constants \b([A-Z_]+|[A-Z_][A-Z0-9_]+)\b
lang.perl.tokens.constants.format yellow bold
lang.perl.tokens.non_alphanum [!#^&*()\[\]{}/?=+\-\\|,<.>;:~]
lang.perl.tokens.non_alphanum.format white
lang.perl.tokens.regular_expressions (\/.+?[^\\]\/)
lang.perl.tokens.regular_expressions.format red bold
lang.perl.tokens.doublequoted_strings (\".*?[^\\]\")
lang.perl.tokens.doublequoted_strings.format green bold
lang.perl.tokens.singlequoted_strings ('.*?[^\\]')
lang.perl.tokens.singlequoted_strings.format green bold
lang.perl.tokens.backquoted_strings (`.*?[^\\]`)
lang.perl.tokens.backquoted_strings.format red bold
lang.perl.tokens.reserved_words \b(unless|until|else|for|while|foreach|if|return|do|next|elsif|last|redo|continue|sub|goto)\b
lang.perl.tokens.reserved_words.format white
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
lang.perl.tokens.builtins.format cyan bold
lang.perl.tokens.array_variables \s(@[A-Za-z_][A-Za-z_0-9]*)\b
lang.perl.tokens.array_variables.format red bold
lang.perl.tokens.hash_variables \s(%[A-Za-z_][A-Za-z_0-9]*)\b
lang.perl.tokens.hash_variables.format magenta bold
lang.perl.indent.size 4
lang.perl.indent.auto true
lang.perl.indent.roundup true
#lang.perl.indent.using_tabs true
lang.perl.indent.indenters (case|[{\[(]$)
lang.perl.indent.unindenters (case|^\s+[\]})])
#lang.perl.indent.indenters \b(unless|else|for|while|foreach|if|do|elsif|sub)\b
#lang.perl.indent.unindenters \b(else)\b
lang.perl.indent.preventers (\".+?[^\\]\")|('.+?[^\\]')|(`.+?[^\\]`)|(\/.+?[^\\]\/)|(^\s*#.*)
lang.perl.indent.ignore ^\s*$
lang.perl.context.ignore ^(.+:|\s*\{?)$
lang.perl.column_delimiters =>?|:|,

# Python

lang.python.filemask \.py$
lang.python.bangmask python
lang.python.format.default white bold
lang.python.format.selection inverse
lang.python.format.found yellow inverse
lang.python.tokens.constants \b([A-Z_]+|[A-Z_][A-Z0-9_]+)\b
lang.python.tokens.constants.format yellow bold
lang.python.tokens.non_alphanum [@!#$%^&*()\[\]{}/?=+\-\\|,<.>;:~]
lang.python.tokens.non_alphanum.format white
lang.python.tokens.comments (#.*)
lang.python.tokens.comments.format 8 bold
lang.python.comment_string #
lang.python.tokens.doublequoted_strings (\".*?[^\\]\")
lang.python.tokens.doublequoted_strings.format green bold
lang.python.tokens.singlequoted_strings ('.*?[^\\]')
lang.python.tokens.singlequoted_strings.format green bold
lang.python.tokens.backquoted_strings (`.*?[^\\]`)
lang.python.tokens.backquoted_strings.format red bold
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
lang.python.tokens.reserved_words.format white
lang.python.indent.size 4
lang.python.indent.auto true
lang.python.indent.roundup true
#lang.python.indent.using_tabs true
lang.python.indent.indenters \b(class|def|elif|else|except|finally|for|if|try|while)\b
#lang.python.indent.indenters :
lang.python.indent.unindenters \b(else|elif|except)\b
lang.python.indent.preventers (\".+?[^\\]\")|('.+?[^\\]')|(`.+?[^\\]`)|(^\s*#.*)
lang.python.indent.ignore ^\s*$

# Java

lang.java.filemask \.(?:java|js)$
lang.java.format.default white bold
lang.java.format.selection inverse
lang.java.format.found yellow inverse
lang.java.tokens.doublequoted_strings (\".*?[^\\]\")
lang.java.tokens.doublequoted_strings.format green bold
lang.java.tokens.singlequoted_strings ('.*?[^\\]')
lang.java.tokens.singlequoted_strings.format green bold
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
lang.java.tokens.reserved_words.format white
lang.java.tokens.constants \b([A-Z_]+|[A-Z_][A-Z0-9_]+)\b
lang.java.tokens.constants.format yellow bold
lang.java.tokens.comments (\/\/.*)
lang.java.tokens.comments.format 8 bold
lang.java.comment_string //
lang.java.tokens.non_alphanum ([!@#$%\^&*()\[\]{}/?=+\-\\|,<.>;:])
lang.java.tokens.non_alphanum.format white
lang.java.tokens.long_comments.open \/\*
lang.java.tokens.long_comments.close \*\/
lang.java.tokens.long_comments.format 8 bold
lang.java.tokens.regular_expressions (\/.+?[^\\]\/)
lang.java.tokens.regular_expressions.format red bold
lang.java.indent.size 4
lang.java.indent.auto true
lang.java.indent.roundup false
#lang.java.indent.using_tabs true
lang.java.indent.indenters (\{)
lang.java.indent.unindenters (\})
lang.java.indent.preventers (\".+?[^\\]\")|('.+?[^\\]')|(\/\/.*)
lang.java.indent.ignore ^(.+:|\s*?)$
lang.java.context.ignore ^(.+:|\s*\{?)$
lang.java.closers.for.regexp for$
lang.java.closers.for.closer { |m| "( $i = 0; $i < limit; $i++ ) {\n%_\n}" }
lang.java.column_delimiters =|:|,

# C

lang.c.filemask \.(c(pp|xx)?|h)$
lang.c.format.default white bold
lang.c.format.selection inverse
lang.c.format.found yellow inverse
lang.c.tokens.doublequoted_strings (\".*?[^\\]\")
lang.c.tokens.doublequoted_strings.format green bold
lang.c.tokens.singlequoted_strings ('.*?[^\\]')
lang.c.tokens.singlequoted_strings.format green bold
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
lang.c.tokens.reserved_words.format white
lang.c.tokens.constants \b([A-Z_]+|[A-Z_][A-Z0-9_]+)\b
lang.c.tokens.constants.format yellow bold
lang.c.tokens.comments (\/\/.*)
lang.c.tokens.comments.format 8 bold
lang.c.comment_string //
lang.c.tokens.preprocessor (^\s*#.*)
lang.c.tokens.preprocessor.format yellow bold
lang.c.tokens.non_alphanum ([!@#$%\^&*()\[\]{}/?=+\-\\|,<.>;:])
lang.c.tokens.non_alphanum.format white
lang.c.tokens.long_comments.open \/\*
lang.c.tokens.long_comments.close \*\/
lang.c.tokens.long_comments.format 8 bold
lang.c.indent.size 4
lang.c.indent.auto true
lang.c.indent.roundup false
#lang.c.indent.using_tabs true
lang.c.indent.indenters (case|[{\[(]$)
lang.c.indent.unindenters (case|^\s+[\]})])
lang.c.indent.preventers (\".+?[^\\]\")|('.+?[^\\]')|(\/\/.*)
lang.c.indent.ignore ^(.+:|\s*?)$
lang.c.context.ignore ^(.+:|\s*\{?)$

# Configuration files

lang.conf.filemask (?:\.conf(?:ig)?|\.cfg|\.cnf|user_prefs|XF86Config)$
lang.conf.format.default white
lang.conf.format.selection inverse
lang.conf.format.found yellow inverse
lang.conf.tokens.commands ^\s*([^\s=]+)
lang.conf.tokens.commands.format cyan bold
lang.conf.tokens.comments (^\s*#.*)
lang.conf.tokens.comments.format yellow bold
lang.conf.comment_string #
lang.conf.tokens.doublequoted_strings (\".*?[^\\]\")
lang.conf.tokens.doublequoted_strings.format green bold
lang.conf.tokens.singlequoted_strings ('.*?[^\\]')
lang.conf.tokens.singlequoted_strings.format green bold
lang.conf.indent.size 4
lang.conf.indent.auto true
lang.conf.indent.roundup true
#lang.conf.indent.using_tabs true

# crontab

lang.crontab.filemask (?:^|\/)crontab$
lang.crontab.format.default white
lang.crontab.format.selection inverse
lang.crontab.format.found yellow inverse
lang.crontab.tokens.comments (^\s*#.*)
lang.crontab.tokens.comments.format yellow bold
lang.crontab.comment_string #
lang.crontab.tokens.schedule ^((?:[0-9\/*,-]+\s+){5})
lang.crontab.tokens.schedule.format cyan bold
lang.crontab.tokens.commands ^(\S+=.+)
lang.crontab.tokens.commands.format cyan
lang.crontab.indent.size 4
lang.crontab.indent.auto true
lang.crontab.indent.roundup true
#lang.crontab.indent.using_tabs true

lang.fstab.filemask ^fstab$
lang.fstab.format.default white
lang.fstab.format.selection inverse
lang.fstab.format.found yellow inverse
lang.fstab.tokens.comments (^\s*#.*)
lang.fstab.tokens.comments.format yellow bold
lang.fstab.comment_string #
lang.fstab.indent.size 4
lang.fstab.indent.auto true
lang.fstab.indent.roundup true
#lang.fstab.indent.using_tabs true

# SQL

lang.sql.filemask \.sql$
lang.sql.format.default white bold
lang.sql.format.selection inverse
lang.sql.format.found yellow inverse
lang.sql.indent.size 4
lang.sql.indent.auto true
lang.sql.indent.roundup true
#lang.sql.indent.using_tabs true
#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
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
lang.sql.tokens.reserved_words.format white
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
lang.sql.tokens.commands.format cyan
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
lang.sql.tokens.data_types.format brown
lang.sql.tokens.comments (--.*)
lang.sql.tokens.comments.format 8 bold
lang.sql.comment_string --
lang.sql.tokens.singlequoted_strings ('.*?[^\\]')
lang.sql.tokens.singlequoted_strings.format green bold
lang.sql.tokens.non_alphanum ([!@#$%\^&*()\[\]{}/?=+\-\\|,<.>;:])
lang.sql.tokens.non_alphanum.format white
lang.sql.tokens.typos (==)
lang.sql.tokens.typos.format 15 bold
lang.sql.indent.indenters ((?:\(|BEGIN|DECLARE|FROM|LOOP|ORDER BY|SELECT|SET|WHERE)$)
lang.sql.indent.unindenters (^\s+(?:\)|;|BEGIN|DECLARE|END))
lang.sql.indent.preventers (\".+?[^\\]\")|('.+?[^\\]')
lang.sql.context.ignore ^(\W+)$

# Bash

lang.bash.filemask (?:\.(?:ebuild|bash_profile|bashrc))$
lang.bash.bangmask (?:ba)?sh\b
lang.bash.format.default white bold
lang.bash.format.selection inverse
lang.bash.format.found yellow inverse
lang.bash.indent.size 4
lang.bash.indent.auto true
lang.bash.indent.roundup true
#lang.bash.indent.using_tabs true
lang.bash.tabsize 4
lang.bash.tokens.comments (^\s*#.*)
lang.bash.tokens.comments.format 8 bold
lang.bash.comment_string #
lang.bash.tokens.singlequoted_strings ('.*?[^\\]')
lang.bash.tokens.singlequoted_strings.format green bold
lang.bash.tokens.doublequoted_strings (\".*?[^\\]\")
lang.bash.tokens.doublequoted_strings.format green bold
lang.bash.tokens.backquoted_strings (`.*?[^\\]`)
lang.bash.tokens.backquoted_strings.format red bold
lang.bash.indent.indenters (\{)
lang.bash.indent.unindenters (\})
lang.bash.indent.preventers (\".+?[^\\]\")|('.+?[^\\]')|(\/\/.*)
lang.bash.indent.ignore ^(.+:|\s*?)$

# Tcl

lang.tcl.filemask \.tcl$
lang.tcl.bangmask tcl
lang.tcl.format.default white bold
lang.tcl.format.selection inverse
lang.tcl.format.found yellow inverse
lang.tcl.indent.size 4
lang.tcl.indent.auto true
lang.tcl.indent.roundup true
#lang.tcl.indent.using_tabs true
lang.tcl.tabsize 4
lang.tcl.tokens.comments (^\s*#.*)
lang.tcl.tokens.comments.format 8 bold
lang.tcl.comment_string #
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
lang.tcl.tokens.reserved_words.format white
lang.tcl.tokens.non_alphanum ([!@#$%\^&*()\[\]{}/?=+\-\\|,<.>;:])
lang.tcl.tokens.non_alphanum.format white
lang.tcl.tokens.variables (\$[A-Za-z_][A-Za-z_0-9]*)\b
lang.tcl.tokens.variables.format yellow bold
lang.tcl.tokens.doublequoted_strings (\".*?[^\\]\")
lang.tcl.tokens.doublequoted_strings.format green bold
lang.tcl.indent.indenters (\{)
lang.tcl.indent.unindenters (\})
lang.tcl.indent.preventers (\".+?[^\\]\")|('.+?[^\\]')|(\/\/.*)

lang.diff.filemask (?:\.(?:diff|patch)|COMMIT_EDITMSG)$
lang.diff.format.default white
lang.diff.format.selection inverse
lang.diff.format.found yellow inverse
lang.diff.indent.size 4
lang.diff.indent.auto false
#lang.diff.indent.using_tabs true
lang.diff.tabsize 4
lang.diff.tokens.oldfile (^--- .+$)
lang.diff.tokens.oldfile.format red bold
lang.diff.tokens.newfile (^\+\+\+ .+$)
lang.diff.tokens.newfile.format green bold
lang.diff.tokens.oldline (^-.+$)
lang.diff.tokens.oldline.format red bold
lang.diff.tokens.newline (^\+.+$)
lang.diff.tokens.newline.format green bold
lang.diff.tokens.location (^@@.+$)
lang.diff.tokens.location.format green
lang.diff.tokens.filediff (^Only in .+$)
lang.diff.tokens.filediff.format magenta bold
lang.diff.tokens.diff_command (^diff .+$)
lang.diff.tokens.diff_command.format 13 bold

lang.yaml.filemask (?:\.ya?ml)$
lang.yaml.bangmask ^---
lang.yaml.format.default white bold
lang.yaml.format.selection inverse
lang.yaml.format.found yellow inverse
lang.yaml.indent.size 4
lang.yaml.indent.auto false
lang.yaml.indent.roundup false
lang.yaml.tabsize 8
lang.yaml.tokens.value_indicator (:)(?: |$)
lang.yaml.tokens.value_indicator.format white
lang.yaml.tokens.key_indicator (\? )
lang.yaml.tokens.key_indicator.format white
lang.yaml.tokens.nested_series (?:^|[^-])(- )
lang.yaml.tokens.nested_series.format magenta bold
lang.yaml.tokens.series_separator (,)
lang.yaml.tokens.series_separator.format white
lang.yaml.tokens.inline_series ([\[\]])
lang.yaml.tokens.inline_series.format white
lang.yaml.tokens.inline_keyed ([{}])
lang.yaml.tokens.inline_keyed.format white
lang.yaml.tokens.doublequoted_strings (\".*?[^\\]\"|\"\")
lang.yaml.tokens.doublequoted_strings.format green bold
lang.yaml.tokens.singlequoted_strings ('.*?[^\\]'|'')
lang.yaml.tokens.singlequoted_strings.format green bold
lang.yaml.tokens.block_scalar (\|[0-9+-]*)$
lang.yaml.tokens.block_scalar.format blue bold
lang.yaml.tokens.folded_scalar (>[0-9+-]*)$
lang.yaml.tokens.folded_scalar.format blue bold
lang.yaml.tokens.document_header ^(---.*)$
lang.yaml.tokens.document_header.format 10 bold
lang.yaml.tokens.document_terminator ^(\.\.\.)
lang.yaml.tokens.document_terminator.format 10
lang.yaml.tokens.directive_indicator ^(%.*)
lang.yaml.tokens.directive_indicator.format 10
lang.yaml.tokens.comment_indicator (#.+)
lang.yaml.tokens.comment_indicator.format 8 bold
lang.yaml.comment_string #
lang.yaml.tokens.anchor_indicator (&\w+)
lang.yaml.tokens.anchor_indicator.format red bold
lang.yaml.tokens.alias_indicator (\*\w+)
lang.yaml.tokens.alias_indicator.format yellow
lang.yaml.tokens.tag (!\w*)
lang.yaml.tokens.tag.format yellow bold
lang.yaml.tokens.null (~|null)
lang.yaml.tokens.null.format red
lang.yaml.indent.size 4
lang.yaml.indent.auto true
lang.yaml.indent.roundup true
lang.yaml.indent.indenters :$
lang.yaml.indent.preventers (\".+?[^\\]\")|('.+?[^\\]')|(`.+?[^\\]`)|(^\s*#.*)
lang.yaml.indent.ignore ^\s*$

lang.haml.filemask \.haml$
lang.haml.format.default white bold
lang.haml.format.selection inverse
lang.haml.format.found yellow inverse
lang.haml.tabsize 8
lang.haml.indent.size 2
lang.haml.indent.auto true
lang.haml.indent.roundup true
lang.haml.indent.using_tabs false
lang.haml.tokens.code.open [=~-]
lang.haml.tokens.code.close $
lang.haml.tokens.code.format 9 bold
lang.haml.tokens.code.change_to ruby
lang.haml.tokens.tags (%\w+\b)
lang.haml.tokens.tags.format white
lang.haml.tokens.hash.open [{\[]
lang.haml.tokens.hash.close [}\]]
lang.haml.tokens.hash.format blue bold
lang.haml.tokens.hash.change_to ruby
lang.haml.tokens.class \.\w+
lang.haml.tokens.class.format cyan bold
lang.haml.tokens.id #\w+
lang.haml.tokens.id.format cyan
lang.haml.tokens.xml !!!
lang.haml.tokens.xml.format magenta bold
lang.haml.tokens.html_comment ^ *(\/.*)
lang.haml.tokens.html_comment.format 8 bold
lang.haml.tokens.line_joiner \|$
lang.haml.tokens.line_joiner.format 12 bold

#% SiSU
lang.sisu.filemask \.(?:sst|ssm|ssi|[_-]sst)$
lang.sisu.format.default white
lang.sisu.tokens.comment ^%+\s+.*
lang.sisu.tokens.comment.format 8
#langsisu.tokens.comments.format 8 bold
lang.sisu.tokens.header ^(@\S+?:|0~\S+)\s+.*
lang.sisu.tokens.header.format cyan
lang.sisu.tokens.heading ^:?[A-C1-9]~(?:\S+)?\s+.*
lang.sisu.tokens.heading.format yellow bold
#lang.sisu.tokens.heading.format white inverse
lang.sisu.tokens.headings.case_insensitive ^(?:Chapter|Part|Section|Book|Article|Preamble|Appendix)\s.*
lang.sisu.tokens.headings.format white bold
lang.sisu.tokens.bullet ^_[1-9]?\*\s+
lang.sisu.tokens.bullet.format yellow
lang.sisu.tokens.indent ^_[1-9]\s+
lang.sisu.tokens.indent.format yellow
lang.sisu.tokens.link \{.+?\}(?:https?://\S+|\.\./\S+|image)
lang.sisu.tokens.link.format cyan
lang.sisu.tokens.url http://\S+
lang.sisu.tokens.url.format blue bold
lang.sisu.tokens.url ^\<\<\s+\S+?\.ss[it]$
lang.sisu.tokens.line_bold ^!_\s+.*
lang.sisu.tokens.line_bold.format white bold
lang.sisu.tokens.font_bold (([!*])\{.+?\}\2)
lang.sisu.tokens.font_bold.format white bold
lang.sisu.tokens.font_modify (([/_^,+-])\{.+?\}\2)
lang.sisu.tokens.font_modify.format brown
lang.sisu.tokens.page_break <:(?:pb|np)>
lang.sisu.tokens.page_break.format white bold inverse
lang.sisu.tokens.br <:?br>
lang.sisu.tokens.br.format white bold inverse
lang.sisu.tokens.endnote_mark ~\^(?:\s|$)
lang.sisu.tokens.endnote_mark.format green
lang.sisu.tokens.endnote_content ^\^~\s.+
lang.sisu.tokens.endnote_content.format green
#lang.sisu.tokens.endnote.open ~\{
#lang.sisu.tokens.endnote.close \}~
lang.sisu.tokens.endnotes ~\{.+?\}~
lang.sisu.tokens.endnotes.format green
lang.sisu.tokens.group.open ^group\{
lang.sisu.tokens.group.close ^\}group
lang.sisu.tokens.group.format green
lang.sisu.tokens.poem.open ^poem\{
lang.sisu.tokens.poem.close ^\}poem
lang.sisu.tokens.poem.format green
lang.sisu.tokens.code.open ^code\{
lang.sisu.tokens.code.close ^\}code
lang.sisu.tokens.code.format green
lang.sisu.tokens.sem (([a-z]+):\{.+?\}:\2)
lang.sisu.tokens.sem (([a-z]+);\{.+?\};\2)
lang.sisu.tokens.sem (([a-z]+):\[.+?\]:\2)
lang.sisu.tokens.sem (([a-z]+);\[.+?\];\2)
lang.sisu.tokens.sem.format green
lang.sisu.tokens.error \s+$|<\S{2}\S+?>|[a-zA-Z0-9,.::?!&><]+http://\S+|http://\S+<
#lang.sisu.tokens.error \s+$|<\S+?>|[a-zA-Z0-9,.::?!&><]+http://\S+|http://\S+<
lang.sisu.tokens.error.format magenta reverse

# Custom configuration files can be included.
# If a setting is specified again, it overrides the previous setting given
# higher up in the configuration file(s).

include ~/.diakonos/pistos.conf

# Uncomment this line if your terminal supports 256 colours.
#include ~/.diakonos/diakonos-256-colour.conf