~athorp96/uxntal.kak

6cf26aa078987307e145bafd78142dc6910c6e50 — Andrew Thorp 3 years ago e19a0f8
Fix keyword 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 "\A(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}\z" 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

]