diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-03-29 12:48:49 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-03-29 13:25:00 -0700 |
commit | b3b3237391ae9c60860bbdd8fa12dfd73214f692 (patch) | |
tree | 6fd2481db2b98f15f5f2e9675f8511b9e3a2d932 /mu.dte | |
parent | 6efd1778e195cbadb71fbb718e182e229e5dff40 (diff) | |
download | mu-b3b3237391ae9c60860bbdd8fa12dfd73214f692.tar.gz |
6175 - syntax highlighting for dte
https://gitlab.com/craigbarnes/dte
Diffstat (limited to 'mu.dte')
-rw-r--r-- | mu.dte | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/mu.dte b/mu.dte new file mode 100644 index 00000000..b68fab5d --- /dev/null +++ b/mu.dte @@ -0,0 +1,29 @@ +# Syntax highlighting for https://gitlab.com/craigbarnes/dte +# +# To install this file, symlink it to ~/.dte/syntax/mu +# Then add this line to ~/.dte/rc: +# ft mu mu + +syntax mu + +state start code + char # comment + char '"' string + char -b a-z ident + eat this + +state comment + char "\n" start + eat this + +state string + char "\"" start string + eat this + +state ident + char -b a-z this + inlist keyword start + noeat start + +list keyword \ + fn type var |