From f459375f4873d601b6a0e2c3c5d29be569b3e067 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 7 Jan 2021 18:21:00 +0300 Subject: Better fixture highlight --- .../syntax_highlighting/test_data/injection.html | 48 ++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 crates/ide/src/syntax_highlighting/test_data/injection.html (limited to 'crates/ide/src/syntax_highlighting/test_data/injection.html') diff --git a/crates/ide/src/syntax_highlighting/test_data/injection.html b/crates/ide/src/syntax_highlighting/test_data/injection.html new file mode 100644 index 000000000..a54d303b4 --- /dev/null +++ b/crates/ide/src/syntax_highlighting/test_data/injection.html @@ -0,0 +1,48 @@ + + +
fn f(ra_fixture: &str) {}
+fn main() {
+    f(r"
+fn foo() {
+    foo($0{
+        92
+    }$0)
+}");
+}
+    
\ No newline at end of file -- cgit v1.2.3