tweak clojure symbol highlighting

This commit is contained in:
nightwing 2013-04-18 10:20:41 +04:00
commit 03f6c8fda8

View file

@ -171,7 +171,7 @@ var ClojureHighlightRules = function() {
next: "string" next: "string"
}, { }, {
token : "constant", // symbol token : "constant", // symbol
regex : /:[\w*+!\-_?:\/#$%*.<=>]+/ regex : /:[^()\[\]{}'"\^%`,;]+/
}, { }, {
token : "string.regexp", //Regular Expressions token : "string.regexp", //Regular Expressions
regex : '/#"(?:\\.|(?:\\\")|[^\""\n])*"/g' regex : '/#"(?:\\.|(?:\\\")|[^\""\n])*"/g'