mirror of
https://github.com/mawww/kakoune.git
synced 2024-09-20 01:08:33 +03:00
hare.kak: highlight module imports as "module"
This commit is contained in:
parent
db856ba288
commit
971b52c94e
@ -44,8 +44,8 @@ provide-module hare %§
|
||||
add-highlighter shared/hare/rune/ regex "(\\U[0-9a-fA-F]{8})" 0:meta
|
||||
|
||||
# imports
|
||||
add-highlighter shared/hare/code/ regex "\buse\s.*?(?=;)" 0:module
|
||||
add-highlighter shared/hare/code/ regex "\buse\b" 0:meta
|
||||
add-highlighter shared/hare/code/ regex "\buse\s.*?;" 0:meta
|
||||
|
||||
# attributes
|
||||
add-highlighter shared/hare/code/ regex "@(offset|init|fini|test|noreturn|symbol)\b" 0:attribute
|
||||
|
Loading…
Reference in New Issue
Block a user