From 4f0f3eefd07fccf9e499b82da85eb97cb1dbbe10 Mon Sep 17 00:00:00 2001 From: Hugo Musso Gualandi Date: Wed, 4 Aug 2021 13:21:31 -0300 Subject: [PATCH] Remove a duplicate highligher rule for _G/_ENV --- rc/filetype/lua.kak | 1 - 1 file changed, 1 deletion(-) diff --git a/rc/filetype/lua.kak b/rc/filetype/lua.kak index 7d94e6fe..090a94f4 100644 --- a/rc/filetype/lua.kak +++ b/rc/filetype/lua.kak @@ -52,7 +52,6 @@ add-highlighter shared/lua/code/keyword regex \b(break|do|else|elseif|end|for|fu add-highlighter shared/lua/code/value regex \b(false|nil|true|[0-9]+(:?\.[0-9])?(:?[eE]-?[0-9]+)?|0x[0-9a-fA-F])\b 0:value add-highlighter shared/lua/code/symbolic_operator regex (\+|-|\*|/|%|\^|==?|~=|<=?|>=?|\.\.|\.\.\.|#) 0:operator add-highlighter shared/lua/code/keyword_operator regex \b(and|or|not)\b 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