From 6cde0b1aa0f6b8623c6b81b2396f4a0345891233 Mon Sep 17 00:00:00 2001 From: Paul Daniel Faria Date: Sat, 8 Aug 2020 14:14:18 -0400 Subject: Add support for extern crate This adds syntax highlighting, hover and goto def functionality for extern crate --- .../ra_ide/test_data/highlight_extern_crate.html | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 crates/ra_ide/test_data/highlight_extern_crate.html (limited to 'crates/ra_ide/test_data/highlight_extern_crate.html') diff --git a/crates/ra_ide/test_data/highlight_extern_crate.html b/crates/ra_ide/test_data/highlight_extern_crate.html new file mode 100644 index 000000000..800d894c7 --- /dev/null +++ b/crates/ra_ide/test_data/highlight_extern_crate.html @@ -0,0 +1,40 @@ + + +
extern crate std;
+extern crate alloc as abc;
+
\ No newline at end of file -- cgit v1.2.3