From f5d1c0b8609f8697861eab352ead44916c068c74 Mon Sep 17 00:00:00 2001 From: Patrick Thomson Date: Wed, 15 Dec 2021 17:31:04 -0500 Subject: [PATCH] Support @module as a highlight key. Some languages have the notion of modules, and to represent those we've started to use a `@module` tag, as discussed in https://github.com/elixir-lang/tree-sitter-elixir/issues/15. Because historically we've used the constructor highlight color for modules in JS/Ruby, it's defined to map to the same color. --- cli/src/highlight.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/cli/src/highlight.rs b/cli/src/highlight.rs index e4849d52..6cf1580e 100644 --- a/cli/src/highlight.rs +++ b/cli/src/highlight.rs @@ -157,6 +157,7 @@ impl Default for Theme { "function": 26, "keyword": 56, "number": {"color": 94, "bold": true}, + "module": 136, "property": 124, "operator": {"color": 239, "bold": true}, "punctuation.bracket": 239,