]> git.lizzy.rs Git - micro.git/commitdiff
:pencil2: : Added more Code tags (#1875)
authorThatXliner <66848002+ThatXliner@users.noreply.github.com>
Tue, 6 Oct 2020 20:56:08 +0000 (13:56 -0700)
committerGitHub <noreply@github.com>
Tue, 6 Oct 2020 20:56:08 +0000 (16:56 -0400)
I added more syntax highlighting for python comment code tags. Though this should be implemented for all languages...

runtime/syntax/python3.yaml

index 0afcd051a305d7b93884bd0253d727e6b37d9c17..ba415a77f8ba3e15dbe494ec6281b33f2223ffe7 100644 (file)
@@ -58,5 +58,5 @@ rules:
     - comment:
         start: "#"
         end: "$"
-        rules:
-            - todo: "(TODO|FIXME):?"
+        rules:  # AKA Code tags (PEP 350)
+            - todo: "(TODO|FIXME|HACK|BUG|NOTE|FAQ|MNEMONIC|REQ|RFE|IDEA|PORT|\?\?\?|!!!|GLOSS|SEE|TODOC|STAT|RVD|CRED):?"