lua.kak: highlight Lua 5.4 variable attributes

This commit is contained in:
Hugo Musso Gualandi 2021-07-28 19:22:14 -03:00
parent 3621a98170
commit d3d3c77ab9

View File

@ -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
# ‾‾‾‾‾‾‾‾