]> git.lizzy.rs Git - micro.git/commitdiff
runtime/syntax/nix: Add support for block comments (#2488)
authorPeder Bergebakken Sundt <pbsds@hotmail.com>
Sun, 17 Jul 2022 19:16:47 +0000 (21:16 +0200)
committerGitHub <noreply@github.com>
Sun, 17 Jul 2022 19:16:47 +0000 (12:16 -0700)
runtime/syntax/nix.yaml

index edc42eec2999af2893aedd9b51d49b0477e25e31..a60780a4412ac9cd35cc5203a00898b5cfbd1049 100644 (file)
@@ -25,3 +25,8 @@ rules:
         start: "#"
         end: "$"
         rules: []
+
+    - comment:
+        start: "/\\*"
+        end: "\\*/"
+        rules: []