much love
[mu.git] / editor / mu.dte
blobb68fab5dd757dd9758876c3406bbf950ee8bd14e
1 # Syntax highlighting for https://gitlab.com/craigbarnes/dte
3 # To install this file, symlink it to ~/.dte/syntax/mu
4 # Then add this line to ~/.dte/rc:
5 #   ft mu mu
7 syntax mu
9 state start code
10     char # comment
11     char '"' string
12     char -b a-z ident
13     eat this
15 state comment
16     char "\n" start
17     eat this
19 state string
20     char "\"" start string
21     eat this
23 state ident
24     char -b a-z this
25     inlist keyword start
26     noeat start
28 list keyword \
29     fn type var