From d3d3c77ab901f3b40071532e268a610ecbab3da3 Mon Sep 17 00:00:00 2001 From: Hugo Musso Gualandi Date: Wed, 28 Jul 2021 19:22:14 -0300 Subject: [PATCH] lua.kak: highlight Lua 5.4 variable attributes --- rc/filetype/lua.kak | 1 + 1 file changed, 1 insertion(+) diff --git a/rc/filetype/lua.kak b/rc/filetype/lua.kak index bfc7a35a..2fb0148c 100644 --- a/rc/filetype/lua.kak +++ b/rc/filetype/lua.kak @@ -53,6 +53,7 @@ add-highlighter shared/lua/code/value regex \b(false|nil|true|[0-9]+(:?\.[0-9])? add-highlighter shared/lua/code/operator regex (\+|-|\*|/|%|\^|==?|~=|<=?|>=?|\.\.|\.\.\.|#) 0:operator add-highlighter shared/lua/code/builtin regex \b(_G|_ENV)\b 0:builtin add-highlighter shared/lua/code/module regex \b(_G|_ENV)\b 0:module +add-highlighter shared/lua/code/attribute regex \B(<[a-zA-Z_]\w*>)\B 0:attribute # Commands # ‾‾‾‾‾‾‾‾