~athorp96/uxntal.kak

c7278a7fed6c24cc8f2b0fa92082ff3e36d9ef18 — Andrew Thorp 3 years ago 6cf26aa main 1.0.2
Correct new keyword highlight bug
1 files changed, 1 insertions(+), 1 deletions(-)

M rc/filetype/tal.kak
M rc/filetype/tal.kak => rc/filetype/tal.kak +1 -1
@@ 18,6 18,6 @@ add-highlighter shared/tal/code/ regex "'[^\t \n\r]+"       0:value
add-highlighter shared/tal/code/ regex '[%][^\t \n\r]+'     0:type
add-highlighter shared/tal/code/ regex '[@][^\t \n\r]+'     0:meta

add-highlighter shared/tal/code/ regex "\s(BRK|LIT|INC|POP|DUP|NIP|SWP|OVR|ROT|EQU|NEQ|GTH|LTH|JMP|JCN|JSR|STH|LDZ|STZ|LDR|STR|LDA|STA|DEI|DEO|ADD|SUB|MUL|DIV|AND|ORA|EOR|SFT)[2rk]{0,3}\s+" 0:keyword
add-highlighter shared/tal/code/ regex "\s(BRK|LIT|INC|POP|DUP|NIP|SWP|OVR|ROT|EQU|NEQ|GTH|LTH|JMP|JCN|JSR|STH|LDZ|STZ|LDR|STR|LDA|STA|DEI|DEO|ADD|SUB|MUL|DIV|AND|ORA|EOR|SFT)[2rk]{0,3}(?=\s)" 0:keyword

]