diff --git a/rc/filetype/lua.kak b/rc/filetype/lua.kak index 98354770..d08edd1f 100644 --- a/rc/filetype/lua.kak +++ b/rc/filetype/lua.kak @@ -46,14 +46,17 @@ add-highlighter shared/lua/double_string region '"' (?=?|\.\.|\.\.\.|#) 0:operator add-highlighter shared/lua/code/keyword_operator regex \b(and|or|not)\b 0:operator 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 +add-highlighter shared/lua/code/label regex \s(::\w*::) 1:meta +add-highlighter shared/lua/code/goto_label regex "\bgoto (\w*)\b" 1:meta # Commands # ‾‾‾‾‾‾‾‾