about summary refs log tree commit diff stats
path: root/apps/advent2020/5b.mu
diff options
context:
space:
mode:
Diffstat (limited to 'apps/advent2020/5b.mu')
0 files changed, 0 insertions, 0 deletions
itter Kartik Agaram <vc@akkartik.com> 2020-03-29 13:25:00 -0700 6175 - syntax highlighting for dte' href='/akkartik/mu/commit/subx.dte?h=hlt&id=b3b3237391ae9c60860bbdd8fa12dfd73214f692'>b3b32373 ^
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




                                                            




                                                                               



                                 
                                                         



























                             
# Syntax highlighting for https://gitlab.com/craigbarnes/dte
#
# To install this file, symlink it to ~/.dte/syntax/subx
# Then add this line to ~/.dte/rc:
#   ft subx subx

syntax subx

# For improved colorization, add lines like these in your ~/.dte/rc (the
# precise colors here assume the default color scheme in a 256-color terminal):
#   hi subx.comment0 25 underline
#   hi comment 25
#   hi subx.comment2 19
#   hi subx.comment3 245
default comment subx.comment0 subx.comment2 subx.comment3

state start code
    str "# . ." subx.comment3
    str "# ." subx.comment2
    str "# -" subx.comment0
    char # comment
    char '"' string
    eat this

state comment
    char "\n" start
    eat this

state subx.comment0
    char "\n" start
    eat this

state subx.comment2
    char "\n" start
    eat this

state subx.comment3
    char "\n" start
    eat this

state string
    char "\"" start string
    eat this