aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_editor
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2018-11-01 10:16:24 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2018-11-01 10:16:24 +0000
commit3ec9f958b39b23b945dd60088843d19fe6cef2d7 (patch)
treed568d87091edbe86161889906e26b064e24820e6 /crates/ra_editor
parent2050812cad7905c33870c36362593360f7216310 (diff)
parent61580f3cb82821c65dc93627d9b3ec9390cce281 (diff)
Merge #179
179: Remove DOC_COMMENT r=matklad a=kjeremy Closes #166 Co-authored-by: Jeremy A. Kolb <[email protected]>
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",