kakoune: highlight leptos html macro
This commit is contained in:
parent
3d207cb35a
commit
39cbe4e5e8
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue