]> git.lizzy.rs Git - micro.git/commitdiff
Highlight racket files as lisp (#1931)
authorriley <a11ce@protonmail.com>
Sat, 7 Aug 2021 00:38:22 +0000 (20:38 -0400)
committerGitHub <noreply@github.com>
Sat, 7 Aug 2021 00:38:22 +0000 (20:38 -0400)
Add syntax highlighting for [racket](racket-lang.org), a (variant of scheme which is a) variant of lisp which uses the .rkt extension.

runtime/syntax/lisp.yaml

index ac75ab94f6c6a94e013440c5156c35e3bb0c8969..5c71173594e108b5719e7ccdb3074f43382de7d1 100644 (file)
@@ -1,7 +1,7 @@
 filetype: lisp
 
 detect: 
-    filename: "(emacs|zile)$|\\.(el|li?sp|scm|ss)$"
+    filename: "(emacs|zile)$|\\.(el|li?sp|scm|ss|rkt)$"
 
 rules:
     - default: "\\([a-z-]+"