From 3e194fbb2e030f123a3185b108f03af138840c20 Mon Sep 17 00:00:00 2001 From: Andrey Orst Date: Tue, 13 Nov 2018 13:02:04 +0300 Subject: [PATCH] fix hex numbers for gas filetype - add missing a-f letters --- rc/base/gas.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/base/gas.kak b/rc/base/gas.kak index 568b5f52..ae71c95a 100644 --- a/rc/base/gas.kak +++ b/rc/base/gas.kak @@ -13,7 +13,7 @@ add-highlighter shared/gas/commentSingle1 region '#' '$' fill add-highlighter shared/gas/commentSingle2 region ';' '$' fill comment # Constant -add-highlighter shared/gas/code/ regex (0[xX][0-9]+|\b[0-9]+)\b 0:value +add-highlighter shared/gas/code/ regex (0[xX][0-9a-fA-F]+|\b[0-9]+)\b 0:value # Labels add-highlighter shared/gas/code/ regex ^\h*([A-Za-z0-9_.-]+): 0:operator