git.s-ol.nu subv / 92a8199
highight special opcodes in subv.kak s-ol 10 months ago
1 changed file(s) with 1 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
1212 add-highlighter shared/subv/code/label regex '^([^ \n]+:)' 1:variable
1313 add-highlighter shared/subv/code/partnum regex '\b(-?[\da-f]+|([^/ \n]+))/([^/ \n]+)(/([^/ \n]+))?\b' 5:+d 1:value 2:variable 3:meta
1414 add-highlighter shared/subv/code/opcode regex '^\s+([\da-f]{2})/(\w+)' 0:+b@keyword
15 add-highlighter shared/subv/code/special regex '^\s+(@@)/(\w+)' 0:+b@operator
1516
1617 # Initialization
1718 hook -group subv-highlight global WinSetOption filetype=subv %{