add html! highlighter
This commit is contained in:
parent
c8c40a6abd
commit
6e3091d419
|
@ -59,6 +59,12 @@ hook global BufCreate .*\.(tera|askama)\.?.* %[
|
||||||
add-highlighter buffer/jinja ref jinja
|
add-highlighter buffer/jinja ref jinja
|
||||||
]
|
]
|
||||||
|
|
||||||
|
hook global WinSetOption filetype=rust %[
|
||||||
|
require-module rust
|
||||||
|
require-module html
|
||||||
|
add-highlighter shared/rust/html region -recurse '\{' 'html!\s*\{\K' '(?=\})' ref html
|
||||||
|
]
|
||||||
|
|
||||||
hook global WinSetOption filetype=sql %[
|
hook global WinSetOption filetype=sql %[
|
||||||
set buffer comment_line '--'
|
set buffer comment_line '--'
|
||||||
]
|
]
|
||||||
|
|
Reference in New Issue