aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_editor
diff options
context:
space:
mode:
authorJeremy A. Kolb <[email protected]>2018-10-31 21:38:18 +0000
committerJeremy A. Kolb <[email protected]>2018-10-31 21:38:18 +0000
commit61580f3cb82821c65dc93627d9b3ec9390cce281 (patch)
treedd8bdf0f3489b972728a4023fbf6e460f1fed4dc /crates/ra_editor
parent2b210d98b8807e0dfd6762a2974388fca7ee1ee9 (diff)
Remove DOC_COMMENT
Closes #166
Diffstat (limited to 'crates/ra_editor')
-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",