diakonos 0.8.6 → 0.8.7
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +18 -0
- data/LICENCE +1 -1
- data/README +3 -3
- data/diakonos-256-colour.conf +1 -0
- data/diakonos.conf +237 -108
- data/lib/diakonos.rb +425 -2680
- data/lib/diakonos/array.rb +1 -1
- data/lib/diakonos/bignum.rb +4 -1
- data/lib/diakonos/bookmark.rb +7 -8
- data/lib/diakonos/buffer-hash.rb +55 -13
- data/lib/diakonos/buffer-management.rb +73 -0
- data/lib/diakonos/buffer.rb +327 -259
- data/lib/diakonos/clipboard.rb +4 -4
- data/lib/diakonos/config.rb +304 -0
- data/lib/diakonos/ctag.rb +3 -3
- data/lib/diakonos/display.rb +288 -0
- data/lib/diakonos/enumerable.rb +2 -2
- data/lib/diakonos/fixnum.rb +12 -8
- data/lib/diakonos/functions.rb +1420 -0
- data/lib/diakonos/grep.rb +78 -0
- data/lib/diakonos/hash.rb +26 -19
- data/lib/diakonos/help.rb +92 -0
- data/lib/diakonos/hooks.rb +13 -0
- data/lib/diakonos/interaction.rb +139 -0
- data/lib/diakonos/keycode.rb +3 -3
- data/lib/diakonos/keying.rb +124 -0
- data/lib/diakonos/list.rb +55 -0
- data/lib/diakonos/logging.rb +24 -0
- data/lib/diakonos/readline.rb +44 -25
- data/lib/diakonos/regexp.rb +1 -1
- data/lib/diakonos/sessions.rb +70 -0
- data/lib/diakonos/sized-array.rb +4 -4
- data/lib/diakonos/string.rb +44 -37
- data/lib/diakonos/text-mark.rb +1 -1
- data/lib/diakonos/vendor/fuzzy_file_finder.rb +353 -0
- data/test/buffer-test.rb +5 -5
- data/test/diakonos-test.rb +2 -2
- metadata +27 -14
data/CHANGELOG
CHANGED
@@ -1,6 +1,24 @@
|
|
1
1
|
Diakonos Changelog
|
2
2
|
------------------
|
3
3
|
|
4
|
+
0.8.7
|
5
|
+
|
6
|
+
- MRU buffer history added.
|
7
|
+
- strip_trailing_whitespace_on_save setting added.
|
8
|
+
- Sessions (named and unnamed) added.
|
9
|
+
- grep as you type added.
|
10
|
+
- delete_to added.
|
11
|
+
- delete_to_and_from added.
|
12
|
+
- find.return_on_abort setting added.
|
13
|
+
- Makefile config added.
|
14
|
+
- Markdown config added.
|
15
|
+
- Sass config added.
|
16
|
+
- Now including custom.conf from default diakonos.conf.
|
17
|
+
- Help files updated.
|
18
|
+
- Some Ruby 1.9 compatibility introduced.
|
19
|
+
- Lots of code refactoring done.
|
20
|
+
- Numerous little adjustments and fixes made.
|
21
|
+
|
4
22
|
0.8.6
|
5
23
|
|
6
24
|
- Find-as-you-type added.
|
data/LICENCE
CHANGED
data/README
CHANGED
@@ -6,7 +6,7 @@ Diakonos
|
|
6
6
|
INSTALLATION
|
7
7
|
============
|
8
8
|
|
9
|
-
There are three ways to install
|
9
|
+
There are three ways to install Diakonos:
|
10
10
|
* by rubygems (recommended)
|
11
11
|
* from the tarball using setup.rb
|
12
12
|
* manual file copy
|
@@ -34,7 +34,7 @@ If you want to set options like the installation directories:
|
|
34
34
|
|
35
35
|
By default, the installer copies bin/diakonos into a system-wide bin directory,
|
36
36
|
such as /usr/bin; and copies lib/* into the system-wide ruby library path,
|
37
|
-
such as /usr/lib/ruby/site_ruby/1.8 . You may need root
|
37
|
+
such as /usr/lib/ruby/site_ruby/1.8 . You may need root privileges on the
|
38
38
|
system in order to install to system-wide places like /usr/bin .
|
39
39
|
|
40
40
|
=== Installing from tarball by manual copy ===
|
@@ -59,7 +59,7 @@ or
|
|
59
59
|
|
60
60
|
or, for other options and arguments,
|
61
61
|
|
62
|
-
diakonos --help
|
62
|
+
diakonos --help
|
63
63
|
|
64
64
|
For help using Diakonos, simply press F1 from within the editor to use the
|
65
65
|
interactive help system.
|
data/diakonos-256-colour.conf
CHANGED
@@ -7,6 +7,7 @@ colour 37 111 17 # single-quoted strings; light blue on dark blue
|
|
7
7
|
colour 38 117 18 # double-quoted strings; light blue on dark blue
|
8
8
|
colour 39 213 90 # shell-quoted strings; light purple on purple
|
9
9
|
colour 40 15 234 # constants; white on light black
|
10
|
+
colour 44 224 88 # Ruby modifiers; light red on dark red
|
10
11
|
|
11
12
|
colour 41 15 233 # XML nodes; white on light black
|
12
13
|
colour 42 45 233 # XML attributes; light blue on black
|
data/diakonos.conf
CHANGED
@@ -2,6 +2,8 @@
|
|
2
2
|
|
3
3
|
logfile ~/.diakonos/diakonos.log
|
4
4
|
|
5
|
+
#session.default_session default-session
|
6
|
+
|
5
7
|
# When the cursor is view.margin.y lines or less from the top or
|
6
8
|
# bottom line, repeatedly scroll the screen view.jump.y lines until
|
7
9
|
# the cursor is more than view.margin.y lines from the top and
|
@@ -46,8 +48,10 @@ eof_newline false
|
|
46
48
|
delete_newline_on_delete_to_eol false
|
47
49
|
|
48
50
|
# Specifies whether the cursor should be at the end (false) of found text, or the
|
49
|
-
# beginning (true).
|
51
|
+
# beginning (true).
|
50
52
|
found_cursor_start false
|
53
|
+
find.return_on_abort false
|
54
|
+
grep.context 0
|
51
55
|
|
52
56
|
max_clips 30
|
53
57
|
|
@@ -56,6 +60,7 @@ max_clips 30
|
|
56
60
|
max_undo_lines 16384
|
57
61
|
|
58
62
|
convert_tabs false
|
63
|
+
strip_trailing_whitespace_on_save true
|
59
64
|
|
60
65
|
diff_command diff -U 5
|
61
66
|
|
@@ -63,13 +68,15 @@ diff_command diff -U 5
|
|
63
68
|
# before opening them.
|
64
69
|
use_magic_file false
|
65
70
|
|
71
|
+
fuzzy_file_find false
|
72
|
+
|
66
73
|
# ---------------------------------------------------------------------
|
67
74
|
# Status Line
|
68
75
|
|
69
76
|
# Use "% syntax" as placeholders
|
70
77
|
# e.g. %d for decimal integers, %s for strings
|
71
78
|
status.left -- %s %s%s%s -- (%s) --%s
|
72
|
-
status.right - Buf %d of %d --- L%3d/%3d C%2d --
|
79
|
+
status.right - %s Buf %d of %d --- L%3d/%3d C%2d --
|
73
80
|
# The string to use to fill in the space between the left and right sides
|
74
81
|
# of the status line.
|
75
82
|
status.filler -
|
@@ -78,8 +85,9 @@ status.selecting_str (selecting)
|
|
78
85
|
status.unnamed_str (unnamed file)
|
79
86
|
status.read_only_str (read-only)
|
80
87
|
# status.vars: any subset of:
|
81
|
-
# line row num_lines col filename modified type buffer_number num_buffers selecting read_only
|
82
|
-
status.vars filename modified read_only selecting type @git_branch buffer_number num_buffers row num_lines col
|
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
|
83
91
|
status.format inverse
|
84
92
|
|
85
93
|
# ---------------------------------------------------------------------
|
@@ -201,34 +209,41 @@ key alt+t;goToTag
|
|
201
209
|
key alt+);goToTagUnderCursor
|
202
210
|
key alt+(;popTag
|
203
211
|
|
204
|
-
key backspace
|
205
|
-
key ctrl+h
|
206
|
-
key del
|
207
|
-
#key ctrl+k
|
208
|
-
key ctrl+k
|
209
|
-
key ctrl+alt+k
|
210
|
-
key
|
211
|
-
key
|
212
|
-
key
|
213
|
-
key
|
214
|
-
key
|
215
|
-
key
|
216
|
-
|
217
|
-
|
218
|
-
key
|
219
|
-
key
|
220
|
-
key
|
221
|
-
key
|
222
|
-
key
|
223
|
-
|
224
|
-
|
225
|
-
key
|
226
|
-
key
|
227
|
-
|
228
|
-
key
|
229
|
-
key
|
230
|
-
key
|
231
|
-
|
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
|
232
247
|
key f11;loadConfiguration
|
233
248
|
key esc [ 2 3 ~;loadConfiguration
|
234
249
|
key f12;openFile "~/.diakonos/diakonos.conf"
|
@@ -241,13 +256,20 @@ key esc W;toggleSessionSetting 'view.wrap.visual', DO_REDRAW
|
|
241
256
|
|
242
257
|
key ctrl+n;newFile
|
243
258
|
key ctrl+o;openFileAsk
|
244
|
-
key
|
245
|
-
key
|
259
|
+
key alt+o open_matching_files
|
260
|
+
key ctrl+s saveFile
|
261
|
+
key esc S saveFileAs
|
246
262
|
key ctrl+w;closeFile
|
247
263
|
key ctrl+alt+o;revert
|
248
264
|
key alt+!;setReadOnly
|
249
265
|
key ctrl+q;quit
|
250
|
-
key esc T
|
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
|
251
273
|
|
252
274
|
key alt+1;switchToBufferNumber 1
|
253
275
|
key alt+2;switchToBufferNumber 2
|
@@ -265,10 +287,12 @@ key ctrl+alt+b list_buffers
|
|
265
287
|
|
266
288
|
key ctrl+space;anchorSelection
|
267
289
|
#key ctrl+space;toggleSelection
|
268
|
-
key ctrl+c
|
269
|
-
key
|
270
|
-
key
|
271
|
-
key
|
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
|
272
296
|
|
273
297
|
# If you are using KDE, you can uncomment these lines to synchronize
|
274
298
|
# the Diakonos clipboard with the KDE clipboard
|
@@ -311,6 +335,9 @@ key ctrl+r searchAndReplace
|
|
311
335
|
key alt+r searchAndReplace CASE_SENSITIVE
|
312
336
|
key ctrl+alt+u;clearMatches
|
313
337
|
key alt+c;close_code
|
338
|
+
key esc g grep
|
339
|
+
key esc G grep_buffers
|
340
|
+
key ctrl+alt+g grep_dir
|
314
341
|
|
315
342
|
key f2 shell
|
316
343
|
key esc O Q shell
|
@@ -442,7 +469,7 @@ lang.dhf.wrap_margin 80
|
|
442
469
|
|
443
470
|
# XML
|
444
471
|
|
445
|
-
lang.xml.filemask \.(xml|xsl|rdl|aiml
|
472
|
+
lang.xml.filemask \.(xml|xsl|rdl|aiml)$
|
446
473
|
lang.xml.format.default white
|
447
474
|
lang.xml.format.selection inverse
|
448
475
|
lang.xml.format.found yellow inverse
|
@@ -453,21 +480,21 @@ lang.xml.indent.roundup true
|
|
453
480
|
#lang.xml.indent.using_tabs true
|
454
481
|
lang.xml.tokens.entities &\S+?;
|
455
482
|
lang.xml.tokens.entities.format magenta bold
|
456
|
-
lang.xml.tokens.code.open (<)(?:[^%]|$)
|
457
|
-
lang.xml.tokens.code.close (?:[^%]|^)(>)
|
458
|
-
lang.xml.tokens.code.format white bold
|
459
|
-
lang.xml.tokens.code.change_to xml_tag
|
460
483
|
lang.xml.tokens.comments.open (<!--)
|
461
484
|
lang.xml.tokens.comments.close (-->)
|
462
485
|
lang.xml.tokens.comments.format 8
|
463
486
|
lang.xml.tokens.comments.change_to xml_comment
|
464
|
-
lang.xml.comment_string <!--
|
487
|
+
lang.xml.comment_string "<!-- "
|
465
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
|
466
493
|
lang.xml.tokens.template.open \[@--
|
467
494
|
lang.xml.tokens.template.close --@\]
|
468
495
|
lang.xml.tokens.template.format brown
|
469
496
|
lang.xml.tokens.template.change_to perl
|
470
|
-
lang.xml.closers.tag.regexp
|
497
|
+
lang.xml.closers.tag.regexp .*<([^/> ]*)
|
471
498
|
lang.xml.closers.tag.closer { |m| "</" + m[ 1 ] + ">" }
|
472
499
|
lang.xml_tag.format.default white bold
|
473
500
|
lang.xml_tag.format.selection inverse
|
@@ -503,10 +530,12 @@ lang.html.indent.size 2
|
|
503
530
|
lang.html.indent.auto true
|
504
531
|
lang.html.indent.roundup true
|
505
532
|
#lang.html.indent.using_tabs true
|
506
|
-
lang.html.tokens.
|
507
|
-
lang.html.tokens.
|
508
|
-
lang.html.tokens.
|
509
|
-
lang.html.tokens.
|
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 " -->"
|
510
539
|
lang.html.tokens.entities &\S+?;
|
511
540
|
lang.html.tokens.entities.format magenta bold
|
512
541
|
lang.html.tokens.eruby.open <%
|
@@ -525,12 +554,10 @@ lang.html.tokens.php.open <\?(?:php)?
|
|
525
554
|
lang.html.tokens.php.close \?>
|
526
555
|
lang.html.tokens.php.format 10 bold
|
527
556
|
lang.html.tokens.php.change_to php
|
528
|
-
lang.html.tokens.
|
529
|
-
lang.html.tokens.
|
530
|
-
lang.html.tokens.
|
531
|
-
lang.html.tokens.
|
532
|
-
lang.html.comment_string <!--
|
533
|
-
lang.html.comment_close_string " -->"
|
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
|
534
561
|
lang.html.closers.tag.regexp <([^/> ]*)
|
535
562
|
lang.html.closers.tag.closer { |m| "</" + m[ 1 ] + ">" }
|
536
563
|
lang.html_tag.format.default white bold
|
@@ -583,7 +610,7 @@ lang.css.tokens.colours.format yellow bold
|
|
583
610
|
lang.css.tokens.long_comments.open \/\*
|
584
611
|
lang.css.tokens.long_comments.close \*\/
|
585
612
|
lang.css.tokens.long_comments.format 8 bold
|
586
|
-
lang.css.comment_string /*
|
613
|
+
lang.css.comment_string "/* "
|
587
614
|
lang.css.comment_close_string " */"
|
588
615
|
lang.css.tokens.numbers \b([0-9]+\.[0-9]+|[0-9]+)
|
589
616
|
lang.css.tokens.numbers.format blue bold
|
@@ -597,24 +624,33 @@ lang.css.column_delimiters :|,
|
|
597
624
|
|
598
625
|
# Ruby
|
599
626
|
|
600
|
-
lang.ruby.filemask (?:[Rr]akefile)|(?:\.(?:rb|gem(?:spec)
|
601
|
-
lang.ruby.bangmask ruby
|
627
|
+
lang.ruby.filemask (?:[Rr]akefile)|(?:\.(?:rb|gem(?:spec)?|rake)$)
|
628
|
+
lang.ruby.bangmask #!.*ruby
|
602
629
|
lang.ruby.format.default white bold
|
603
630
|
lang.ruby.format.selection inverse
|
604
631
|
lang.ruby.format.found yellow inverse
|
605
|
-
lang.ruby.tokens.reserved_words \b(__FILE__|and|def|end|in|or|self|
|
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
|
606
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
|
607
638
|
lang.ruby.tokens.constants \b([A-Z_]+|[A-Z_][A-Z0-9_]+)\b
|
608
639
|
lang.ruby.tokens.constants.format yellow bold
|
609
640
|
lang.ruby.tokens.symbols [^:](:[a-zA-Z_][a-zA-Z_0-9]*)
|
610
641
|
lang.ruby.tokens.symbols.format white bold
|
611
|
-
lang.ruby.tokens.non_alphanum [@!#$%^&*()\[\]{}/?=+\-\\|,<.>;~]
|
612
|
-
lang.ruby.tokens.non_alphanum.format white
|
613
|
-
lang.ruby.tokens.instance_variables (@[A-Za-z_][A-Za-z_0-9]*)
|
614
|
-
lang.ruby.tokens.instance_variables.format white bold
|
615
642
|
lang.ruby.tokens.comments (#.*)
|
616
643
|
lang.ruby.tokens.comments.format 8 bold
|
617
|
-
lang.ruby.comment_string #
|
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
|
618
654
|
lang.ruby.tokens.regular_expressions (\/.+?[^\\]\/)
|
619
655
|
lang.ruby.tokens.regular_expressions.format red bold
|
620
656
|
lang.ruby.tokens.regular_expressions2 (%r\{.+?[^\}]\})
|
@@ -645,13 +681,8 @@ lang.interpolated_exec_ruby.tokens.interpolation.format 9 bold
|
|
645
681
|
lang.interpolated_exec_ruby.tokens.interpolation.change_to ruby
|
646
682
|
lang.ruby.tokens.character_codes \W(\?\S)
|
647
683
|
lang.ruby.tokens.character_codes.format magenta bold
|
648
|
-
lang.ruby.tokens.
|
649
|
-
lang.ruby.tokens.
|
650
|
-
lang.ruby.tokens.long_comments.format 8 bold
|
651
|
-
lang.ruby.tokens.sql_string.open (<<-EOSQL)
|
652
|
-
lang.ruby.tokens.sql_string.close (EOSQL)
|
653
|
-
lang.ruby.tokens.sql_string.format 1
|
654
|
-
lang.ruby.tokens.sql_string.change_to sql
|
684
|
+
lang.ruby.tokens.non_alphanum [@!#$%^&*()\[\]{}/?=+\-\\|,<.>;~]
|
685
|
+
lang.ruby.tokens.non_alphanum.format white
|
655
686
|
lang.ruby.indent.size 2
|
656
687
|
lang.ruby.indent.auto true
|
657
688
|
lang.ruby.indent.roundup true
|
@@ -667,7 +698,7 @@ lang.ruby.column_delimiters =>?|:|,
|
|
667
698
|
# PHP
|
668
699
|
|
669
700
|
lang.php.filemask \.php\d?$
|
670
|
-
lang.php.bangmask php
|
701
|
+
lang.php.bangmask #!.*php
|
671
702
|
lang.php.format.default white bold
|
672
703
|
lang.php.format.selection inverse
|
673
704
|
lang.php.format.found yellow inverse
|
@@ -681,14 +712,12 @@ lang.php.tokens.constants \b([A-Z_]+|[A-Z_][A-Z0-9_]+)\b
|
|
681
712
|
lang.php.tokens.constants.format yellow bold
|
682
713
|
lang.php.tokens.comments (\/\/.*)
|
683
714
|
lang.php.tokens.comments.format 8 bold
|
684
|
-
lang.php.comment_string //
|
685
|
-
lang.php.tokens.preprocessor (^\s*#.*)
|
686
|
-
lang.php.tokens.preprocessor.format yellow bold
|
687
|
-
lang.php.tokens.non_alphanum ([!@#$%\^&*()\[\]{}/?=+\-\\|,<.>;:])
|
688
|
-
lang.php.tokens.non_alphanum.format white
|
715
|
+
lang.php.comment_string "// "
|
689
716
|
lang.php.tokens.long_comments.open \/\*
|
690
717
|
lang.php.tokens.long_comments.close \*\/
|
691
718
|
lang.php.tokens.long_comments.format 8 bold
|
719
|
+
lang.php.tokens.preprocessor (^\s*#.*)
|
720
|
+
lang.php.tokens.preprocessor.format yellow bold
|
692
721
|
lang.php.tokens.sql_string.open (<<<EOS)
|
693
722
|
lang.php.tokens.sql_string.close (EOS)
|
694
723
|
lang.php.tokens.sql_string.format 1
|
@@ -697,6 +726,8 @@ lang.php.tokens.js.open (<<<EOJS)
|
|
697
726
|
lang.php.tokens.js.close (EOJS)
|
698
727
|
lang.php.tokens.js.format 12 bold
|
699
728
|
lang.php.tokens.js.change_to java
|
729
|
+
lang.php.tokens.non_alphanum ([!@#$%\^&*()\[\]{}/?=+\-\\|,<.>;:])
|
730
|
+
lang.php.tokens.non_alphanum.format white
|
700
731
|
lang.php.indent.size 4
|
701
732
|
lang.php.indent.auto true
|
702
733
|
lang.php.indent.roundup false
|
@@ -710,17 +741,15 @@ lang.php.context.ignore ^(.+:|\s*\{?)$
|
|
710
741
|
# Perl
|
711
742
|
|
712
743
|
lang.perl.filemask \.(?:pl|pm)$
|
713
|
-
lang.perl.bangmask perl
|
744
|
+
lang.perl.bangmask #!.*perl
|
714
745
|
lang.perl.format.default white bold
|
715
746
|
lang.perl.format.selection inverse
|
716
747
|
lang.perl.format.found yellow inverse
|
717
748
|
lang.perl.tokens.comments (#.*)
|
718
749
|
lang.perl.tokens.comments.format 8 bold
|
719
|
-
lang.perl.comment_string #
|
750
|
+
lang.perl.comment_string "# "
|
720
751
|
lang.perl.tokens.constants \b([A-Z_]+|[A-Z_][A-Z0-9_]+)\b
|
721
752
|
lang.perl.tokens.constants.format yellow bold
|
722
|
-
lang.perl.tokens.non_alphanum [!#^&*()\[\]{}/?=+\-\\|,<.>;:~]
|
723
|
-
lang.perl.tokens.non_alphanum.format white
|
724
753
|
lang.perl.tokens.regular_expressions (\/.+?[^\\]\/)
|
725
754
|
lang.perl.tokens.regular_expressions.format red bold
|
726
755
|
lang.perl.tokens.doublequoted_strings (\".*?[^\\]\")
|
@@ -737,6 +766,8 @@ lang.perl.tokens.array_variables \s(@[A-Za-z_][A-Za-z_0-9]*)\b
|
|
737
766
|
lang.perl.tokens.array_variables.format red bold
|
738
767
|
lang.perl.tokens.hash_variables \s(%[A-Za-z_][A-Za-z_0-9]*)\b
|
739
768
|
lang.perl.tokens.hash_variables.format magenta bold
|
769
|
+
lang.perl.tokens.non_alphanum [!#^&*()\[\]{}/?=+\-\\|,<.>;:~]
|
770
|
+
lang.perl.tokens.non_alphanum.format white
|
740
771
|
lang.perl.indent.size 4
|
741
772
|
lang.perl.indent.auto true
|
742
773
|
lang.perl.indent.roundup true
|
@@ -753,17 +784,15 @@ lang.perl.column_delimiters =>?|:|,
|
|
753
784
|
# Python
|
754
785
|
|
755
786
|
lang.python.filemask \.py$
|
756
|
-
lang.python.bangmask python
|
787
|
+
lang.python.bangmask #!.*python
|
757
788
|
lang.python.format.default white bold
|
758
789
|
lang.python.format.selection inverse
|
759
790
|
lang.python.format.found yellow inverse
|
760
791
|
lang.python.tokens.constants \b([A-Z_]+|[A-Z_][A-Z0-9_]+)\b
|
761
792
|
lang.python.tokens.constants.format yellow bold
|
762
|
-
lang.python.tokens.non_alphanum [@!#$%^&*()\[\]{}/?=+\-\\|,<.>;:~]
|
763
|
-
lang.python.tokens.non_alphanum.format white
|
764
793
|
lang.python.tokens.comments (#.*)
|
765
794
|
lang.python.tokens.comments.format 8 bold
|
766
|
-
lang.python.comment_string #
|
795
|
+
lang.python.comment_string "# "
|
767
796
|
lang.python.tokens.doublequoted_strings (\".*?[^\\]\")
|
768
797
|
lang.python.tokens.doublequoted_strings.format green bold
|
769
798
|
lang.python.tokens.singlequoted_strings ('.*?[^\\]')
|
@@ -772,6 +801,8 @@ lang.python.tokens.backquoted_strings (`.*?[^\\]`)
|
|
772
801
|
lang.python.tokens.backquoted_strings.format red bold
|
773
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
|
774
803
|
lang.python.tokens.reserved_words.format white
|
804
|
+
lang.python.tokens.non_alphanum [@!#$%^&*()\[\]{}/?=+\-\\|,<.>;:~]
|
805
|
+
lang.python.tokens.non_alphanum.format white
|
775
806
|
lang.python.indent.size 4
|
776
807
|
lang.python.indent.auto true
|
777
808
|
lang.python.indent.roundup true
|
@@ -798,14 +829,14 @@ lang.java.tokens.constants \b([A-Z_]+|[A-Z_][A-Z0-9_]+)\b
|
|
798
829
|
lang.java.tokens.constants.format yellow bold
|
799
830
|
lang.java.tokens.comments (\/\/.*)
|
800
831
|
lang.java.tokens.comments.format 8 bold
|
801
|
-
lang.java.comment_string //
|
802
|
-
lang.java.tokens.non_alphanum ([!@#$%\^&*()\[\]{}/?=+\-\\|,<.>;:])
|
803
|
-
lang.java.tokens.non_alphanum.format white
|
832
|
+
lang.java.comment_string "// "
|
804
833
|
lang.java.tokens.long_comments.open \/\*
|
805
834
|
lang.java.tokens.long_comments.close \*\/
|
806
835
|
lang.java.tokens.long_comments.format 8 bold
|
807
836
|
lang.java.tokens.regular_expressions (\/.+?[^\\]\/)
|
808
837
|
lang.java.tokens.regular_expressions.format red bold
|
838
|
+
lang.java.tokens.non_alphanum ([!@#$%\^&*()\[\]{}/?=+\-\\|,<.>;:])
|
839
|
+
lang.java.tokens.non_alphanum.format white
|
809
840
|
lang.java.indent.size 4
|
810
841
|
lang.java.indent.auto true
|
811
842
|
lang.java.indent.roundup false
|
@@ -814,6 +845,7 @@ lang.java.indent.indenters (\{)
|
|
814
845
|
lang.java.indent.unindenters (\})
|
815
846
|
lang.java.indent.preventers (\".+?[^\\]\")|('.+?[^\\]')|(\/\/.*)
|
816
847
|
lang.java.indent.ignore ^(.+:|\s*?)$
|
848
|
+
lang.java.indent.closers true
|
817
849
|
lang.java.context.ignore ^(.+:|\s*\{?)$
|
818
850
|
lang.java.closers.for.regexp for$
|
819
851
|
lang.java.closers.for.closer { |m| "( $i = 0; $i < limit; $i++ ) {\n%_\n}" }
|
@@ -835,14 +867,14 @@ lang.c.tokens.constants \b([A-Z_]+|[A-Z_][A-Z0-9_]+)\b
|
|
835
867
|
lang.c.tokens.constants.format yellow bold
|
836
868
|
lang.c.tokens.comments (\/\/.*)
|
837
869
|
lang.c.tokens.comments.format 8 bold
|
838
|
-
lang.c.comment_string //
|
870
|
+
lang.c.comment_string "// "
|
839
871
|
lang.c.tokens.preprocessor (^\s*#.*)
|
840
872
|
lang.c.tokens.preprocessor.format yellow bold
|
841
|
-
lang.c.tokens.non_alphanum ([!@#$%\^&*()\[\]{}/?=+\-\\|,<.>;:])
|
842
|
-
lang.c.tokens.non_alphanum.format white
|
843
873
|
lang.c.tokens.long_comments.open \/\*
|
844
874
|
lang.c.tokens.long_comments.close \*\/
|
845
875
|
lang.c.tokens.long_comments.format 8 bold
|
876
|
+
lang.c.tokens.non_alphanum ([!@#$%\^&*()\[\]{}/?=+\-\\|,<.>;:])
|
877
|
+
lang.c.tokens.non_alphanum.format white
|
846
878
|
lang.c.indent.size 4
|
847
879
|
lang.c.indent.auto true
|
848
880
|
lang.c.indent.roundup false
|
@@ -859,11 +891,11 @@ lang.conf.filemask (?:\.conf(?:ig)?|\.cfg|\.cnf|user_prefs|XF86Config)$
|
|
859
891
|
lang.conf.format.default white
|
860
892
|
lang.conf.format.selection inverse
|
861
893
|
lang.conf.format.found yellow inverse
|
862
|
-
lang.conf.tokens.commands ^\s*([^\s
|
894
|
+
lang.conf.tokens.commands ^\s*([^\s=#]+)
|
863
895
|
lang.conf.tokens.commands.format cyan bold
|
864
896
|
lang.conf.tokens.comments (^\s*#.*)
|
865
897
|
lang.conf.tokens.comments.format yellow bold
|
866
|
-
lang.conf.comment_string #
|
898
|
+
lang.conf.comment_string "# "
|
867
899
|
lang.conf.tokens.doublequoted_strings (\".*?[^\\]\")
|
868
900
|
lang.conf.tokens.doublequoted_strings.format green bold
|
869
901
|
lang.conf.tokens.singlequoted_strings ('.*?[^\\]')
|
@@ -881,7 +913,7 @@ lang.crontab.format.selection inverse
|
|
881
913
|
lang.crontab.format.found yellow inverse
|
882
914
|
lang.crontab.tokens.comments (^\s*#.*)
|
883
915
|
lang.crontab.tokens.comments.format yellow bold
|
884
|
-
lang.crontab.comment_string #
|
916
|
+
lang.crontab.comment_string "# "
|
885
917
|
lang.crontab.tokens.schedule ^((?:[0-9\/*,-]+\s+){5})
|
886
918
|
lang.crontab.tokens.schedule.format cyan bold
|
887
919
|
lang.crontab.tokens.commands ^(\S+=.+)
|
@@ -897,7 +929,7 @@ lang.fstab.format.selection inverse
|
|
897
929
|
lang.fstab.format.found yellow inverse
|
898
930
|
lang.fstab.tokens.comments (^\s*#.*)
|
899
931
|
lang.fstab.tokens.comments.format yellow bold
|
900
|
-
lang.fstab.comment_string #
|
932
|
+
lang.fstab.comment_string "# "
|
901
933
|
lang.fstab.indent.size 4
|
902
934
|
lang.fstab.indent.auto true
|
903
935
|
lang.fstab.indent.roundup true
|
@@ -922,13 +954,13 @@ lang.sql.tokens.data_types.case_insensitive \b(BIT|BOOLEAN|CHAR|CHARACTER|DATE|D
|
|
922
954
|
lang.sql.tokens.data_types.format brown
|
923
955
|
lang.sql.tokens.comments (--.*)
|
924
956
|
lang.sql.tokens.comments.format 8 bold
|
925
|
-
lang.sql.comment_string --
|
957
|
+
lang.sql.comment_string "-- "
|
926
958
|
lang.sql.tokens.singlequoted_strings ('.*?[^\\]')
|
927
959
|
lang.sql.tokens.singlequoted_strings.format green bold
|
928
|
-
lang.sql.tokens.non_alphanum ([!@#$%\^&*()\[\]{}/?=+\-\\|,<.>;:])
|
929
|
-
lang.sql.tokens.non_alphanum.format white
|
930
960
|
lang.sql.tokens.typos (==)
|
931
961
|
lang.sql.tokens.typos.format 15 bold
|
962
|
+
lang.sql.tokens.non_alphanum ([!@#$%\^&*()\[\]{}/?=+\-\\|,<.>;:])
|
963
|
+
lang.sql.tokens.non_alphanum.format white
|
932
964
|
lang.sql.indent.indenters ((?:\(|BEGIN|DECLARE|FROM|LOOP|ORDER BY|SELECT|SET|WHERE)$)
|
933
965
|
lang.sql.indent.unindenters (^\s+(?:\)|;|BEGIN|DECLARE|END))
|
934
966
|
lang.sql.indent.preventers (\".+?[^\\]\")|('.+?[^\\]')
|
@@ -937,7 +969,7 @@ lang.sql.context.ignore ^(\W+)$
|
|
937
969
|
# Bash
|
938
970
|
|
939
971
|
lang.bash.filemask (?:\.(?:ebuild|bash_profile|bashrc))$
|
940
|
-
lang.bash.bangmask (?:ba)?sh\b
|
972
|
+
lang.bash.bangmask #!.*(?:ba)?sh\b
|
941
973
|
lang.bash.format.default white bold
|
942
974
|
lang.bash.format.selection inverse
|
943
975
|
lang.bash.format.found yellow inverse
|
@@ -948,7 +980,7 @@ lang.bash.indent.roundup true
|
|
948
980
|
lang.bash.tabsize 4
|
949
981
|
lang.bash.tokens.comments (^\s*#.*)
|
950
982
|
lang.bash.tokens.comments.format 8 bold
|
951
|
-
lang.bash.comment_string #
|
983
|
+
lang.bash.comment_string "# "
|
952
984
|
lang.bash.tokens.singlequoted_strings ('.*?[^\\]')
|
953
985
|
lang.bash.tokens.singlequoted_strings.format green bold
|
954
986
|
lang.bash.tokens.doublequoted_strings (\".*?[^\\]\")
|
@@ -963,7 +995,7 @@ lang.bash.indent.ignore ^(.+:|\s*?)$
|
|
963
995
|
# Tcl
|
964
996
|
|
965
997
|
lang.tcl.filemask \.tcl$
|
966
|
-
lang.tcl.bangmask tcl
|
998
|
+
lang.tcl.bangmask #!.*tcl
|
967
999
|
lang.tcl.format.default white bold
|
968
1000
|
lang.tcl.format.selection inverse
|
969
1001
|
lang.tcl.format.found yellow inverse
|
@@ -974,15 +1006,15 @@ lang.tcl.indent.roundup true
|
|
974
1006
|
lang.tcl.tabsize 4
|
975
1007
|
lang.tcl.tokens.comments (^\s*#.*)
|
976
1008
|
lang.tcl.tokens.comments.format 8 bold
|
977
|
-
lang.tcl.comment_string #
|
1009
|
+
lang.tcl.comment_string "# "
|
978
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
|
979
1011
|
lang.tcl.tokens.reserved_words.format white
|
980
|
-
lang.tcl.tokens.non_alphanum ([!@#$%\^&*()\[\]{}/?=+\-\\|,<.>;:])
|
981
|
-
lang.tcl.tokens.non_alphanum.format white
|
982
1012
|
lang.tcl.tokens.variables (\$[A-Za-z_][A-Za-z_0-9]*)\b
|
983
1013
|
lang.tcl.tokens.variables.format yellow bold
|
984
1014
|
lang.tcl.tokens.doublequoted_strings (\".*?[^\\]\")
|
985
1015
|
lang.tcl.tokens.doublequoted_strings.format green bold
|
1016
|
+
lang.tcl.tokens.non_alphanum ([!@#$%\^&*()\[\]{}/?=+\-\\|,<.>;:])
|
1017
|
+
lang.tcl.tokens.non_alphanum.format white
|
986
1018
|
lang.tcl.indent.indenters (\{)
|
987
1019
|
lang.tcl.indent.unindenters (\})
|
988
1020
|
lang.tcl.indent.preventers (\".+?[^\\]\")|('.+?[^\\]')|(\/\/.*)
|
@@ -1011,7 +1043,7 @@ lang.diff.tokens.diff_command (^diff .+$)
|
|
1011
1043
|
lang.diff.tokens.diff_command.format 13 bold
|
1012
1044
|
|
1013
1045
|
lang.yaml.filemask (?:\.ya?ml)$
|
1014
|
-
lang.yaml.bangmask ^---
|
1046
|
+
lang.yaml.bangmask ^---(?:.[^/]|$)
|
1015
1047
|
lang.yaml.format.default white bold
|
1016
1048
|
lang.yaml.format.selection inverse
|
1017
1049
|
lang.yaml.format.found yellow inverse
|
@@ -1047,7 +1079,7 @@ lang.yaml.tokens.directive_indicator ^(%.*)
|
|
1047
1079
|
lang.yaml.tokens.directive_indicator.format 10
|
1048
1080
|
lang.yaml.tokens.comment_indicator (#.+)
|
1049
1081
|
lang.yaml.tokens.comment_indicator.format 8 bold
|
1050
|
-
lang.yaml.comment_string #
|
1082
|
+
lang.yaml.comment_string "# "
|
1051
1083
|
lang.yaml.tokens.anchor_indicator (&\w+)
|
1052
1084
|
lang.yaml.tokens.anchor_indicator.format red bold
|
1053
1085
|
lang.yaml.tokens.alias_indicator (\*\w+)
|
@@ -1093,12 +1125,109 @@ lang.haml.tokens.html_comment.format 8 bold
|
|
1093
1125
|
lang.haml.tokens.line_joiner \|$
|
1094
1126
|
lang.haml.tokens.line_joiner.format 12 bold
|
1095
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
|
+
|
1096
1225
|
|
1097
1226
|
# Custom configuration files can be included.
|
1098
1227
|
# If a setting is specified again, it overrides the previous setting given
|
1099
1228
|
# higher up in the configuration file(s).
|
1100
1229
|
|
1101
|
-
include ~/.diakonos/
|
1230
|
+
include ~/.diakonos/custom.conf
|
1102
1231
|
|
1103
1232
|
# Uncomment this line if your terminal supports 256 colours.
|
1104
1233
|
#include ~/.diakonos/diakonos-256-colour.conf
|