1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-28 09:07:19 +03:00

rc base html: Highlight attributes with no value

This commit is contained in:
Frank LENORMAND 2017-08-29 14:17:28 +03:00
parent 8cef1932a0
commit 4f8211ecea

View File

@ -26,8 +26,8 @@ add-highlighter -group /html/comment fill comment
add-highlighter -group /html/style ref css
add-highlighter -group /html/script ref javascript
add-highlighter -group /html/tag regex \b([a-zA-Z0-9_-]+)=? 1:attribute
add-highlighter -group /html/tag regex </?(\w+) 1:keyword
add-highlighter -group /html/tag regex \b([a-zA-Z0-9_-]+)= 1:attribute
add-highlighter -group /html/tag regex <(!DOCTYPE(\h+\w+)+) 1:meta
add-highlighter -group /html/tag regions content \