From 39cbe4e5e86a431f6d1aa7cbb973846f4b53448b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Mon, 29 May 2023 12:47:20 -0300 Subject: [PATCH] kakoune: highlight leptos html macro --- user/kakoune/filetypes.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/kakoune/filetypes.kak b/user/kakoune/filetypes.kak index 1324cf6..ab702f3 100644 --- a/user/kakoune/filetypes.kak +++ b/user/kakoune/filetypes.kak @@ -75,7 +75,7 @@ hook global WinSetOption filetype=rust %[ add-highlighter window/rust-custom regions require-module html - add-highlighter window/rust-custom/html region -recurse '\{' 'html!\s*\{\K' '(?=\})' ref html + add-highlighter window/rust-custom/html region -recurse '\{' '(html|view)!\s*\{\K' '(?=\})' ref html require-module sql add-highlighter window/rust-custom/sql region 'r#"\K--\s*sql' '"#' group