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