From 4ccb5fd315641aed96ebdcd9391f03bd22e3f541 Mon Sep 17 00:00:00 2001 From: Ivan Tham Date: Sat, 30 May 2020 19:34:59 +0800 Subject: [PATCH] Highlight doc tests in rust Feels a big laggy when system overloaded --- rc/filetype/rust.kak | 31 ++++++++++- test/highlight/rust/comment/cmd | 1 + test/highlight/rust/comment/in | 88 ++++++++++++++++++++++++++++++ test/highlight/rust/comment/rc | 3 + test/highlight/rust/comment/script | 7 +++ 5 files changed, 127 insertions(+), 3 deletions(-) create mode 100644 test/highlight/rust/comment/cmd create mode 100644 test/highlight/rust/comment/in create mode 100644 test/highlight/rust/comment/rc create mode 100644 test/highlight/rust/comment/script diff --git a/rc/filetype/rust.kak b/rc/filetype/rust.kak index 69392cf7..8dfd0929 100644 --- a/rc/filetype/rust.kak +++ b/rc/filetype/rust.kak @@ -34,9 +34,34 @@ add-highlighter shared/rust regions add-highlighter shared/rust/code default-region group add-highlighter shared/rust/string region %{(?