From 61580f3cb82821c65dc93627d9b3ec9390cce281 Mon Sep 17 00:00:00 2001 From: "Jeremy A. Kolb" Date: Wed, 31 Oct 2018 17:38:18 -0400 Subject: Remove DOC_COMMENT Closes #166 --- crates/ra_editor/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_editor') 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 { let mut res = Vec::new(); for node in file.syntax().descendants() { let tag = match node.kind() { - COMMENT | DOC_COMMENT => "comment", + COMMENT => "comment", STRING | RAW_STRING | RAW_BYTE_STRING | BYTE_STRING => "string", ATTR => "attribute", NAME_REF => "text", -- cgit v1.2.3