aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_editor/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_editor/src')
-rw-r--r--crates/ra_editor/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_editor/src/lib.rs b/crates/ra_editor/src/lib.rs
index 481f4c9fc..3186eaf1a 100644
--- a/crates/ra_editor/src/lib.rs
+++ b/crates/ra_editor/src/lib.rs
@@ -81,7 +81,7 @@ pub fn highlight(file: &File) -> Vec<HighlightedRange> {
81 let mut res = Vec::new(); 81 let mut res = Vec::new();
82 for node in file.syntax().descendants() { 82 for node in file.syntax().descendants() {
83 let tag = match node.kind() { 83 let tag = match node.kind() {
84 COMMENT | DOC_COMMENT => "comment", 84 COMMENT => "comment",
85 STRING | RAW_STRING | RAW_BYTE_STRING | BYTE_STRING => "string", 85 STRING | RAW_STRING | RAW_BYTE_STRING | BYTE_STRING => "string",
86 ATTR => "attribute", 86 ATTR => "attribute",
87 NAME_REF => "text", 87 NAME_REF => "text",