1. Greg Hendershott
  2. pygments-main

Commits

Max Penet  committed dc3d36b

add support for clojure namespaced keywords

  • Participants
  • Parent commits 7925d53
  • Branches default

Comments (0)

Files changed (1)

File pygments/lexers/jvm.py

View file
             (r"\\(.|[a-z]+)", String.Char),
 
             # keywords
-            (r':' + valid_name, String.Symbol),
+            (r'::?' + valid_name, String.Symbol),
 
             # special operators
             (r'~@|[`\'#^~&]', Operator),