Highlight.js: style gr-syntax-name as gr-syntax-keyword

On some language modes, most noticeable Clojure mode, the keywords are
known as builtins and converted to gr-syntax-name instead of
gr-syntax-keyword. Given that gr-syntax-name is not styled, the
impression is that the highlighting process doesn't work, even though it
does. Style gr-syntax-name in the same way as gr-syntax-keyword.

Bug: Issue 9389
Change-Id: Ia831ff41749ba7ffcbefead18d657686ce3460ca
This commit is contained in:
David Ostrovsky
2018-07-08 23:41:04 +02:00
committed by David Pursehouse
parent aa51cba901
commit 8dcdcb0e59

View File

@@ -28,7 +28,8 @@ limitations under the License.
.gr-syntax-meta {
color: #FF1717;
}
.gr-syntax-keyword {
.gr-syntax-keyword,
.gr-syntax-name {
color: #9E0069;
line-height: 1em;
}
@@ -83,4 +84,4 @@ limitations under the License.
}
</style>
</template>
</dom-module>
</dom-module>