From 3ae0d86b2766b595c0d08188584ad057dfa5943d Mon Sep 17 00:00:00 2001 From: Dianne Wagner Date: Sun, 18 Jun 2017 18:39:45 -0700 Subject: [PATCH] rust highlighter: '"' is not the start of a string this uses the string opening regex from the c-family highlighter to prevent highlighting the rest of the file as a string on encountering the character literal '"' --- rc/base/rust.kak | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rc/base/rust.kak b/rc/base/rust.kak index 69b1eb41..e352d7e4 100644 --- a/rc/base/rust.kak +++ b/rc/base/rust.kak @@ -12,9 +12,9 @@ hook global BufCreate .*[.](rust|rs) %{ # ‾‾‾‾‾‾‾‾‾‾‾‾ add-highlighter -group / regions -default code rust \ - string '"' (?