From c6f367268bc8ae4d6f5d420231aa46d0c88ac57c Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <bensberg@telfort.nl>
Date: Sat, 6 Jan 2018 17:58:06 +0100
Subject: [PATCH] syntax: lua: do not color debug.setinfo as it doesn't exist

Reported-by: Tom Levy <tomlevy93@gmail.com>
---
 syntax/lua.nanorc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/syntax/lua.nanorc b/syntax/lua.nanorc
index 4fc459f3..41d88405 100644
--- a/syntax/lua.nanorc
+++ b/syntax/lua.nanorc
@@ -20,7 +20,7 @@ color brightyellow "\<(_G|_VERSION|assert|collectgarbage|dofile|error|getfenv|ge
 
 # Standard library
 color brightyellow "\<coroutine\.(create|isyieldable|resume|running|status|wrap|yield)\>"
-color brightyellow "\<debug\.(debug|(get|set)(fenv|hook|info|local|metatable|(up|user)value)|getregistry|traceback|upvalue(id|join))\>"
+color brightyellow "\<debug\.(debug|(get|set)(fenv|hook|local|metatable|(up|user)value)|getinfo|getregistry|traceback|upvalue(id|join))\>"
 color brightyellow "\<io\.(close|flush|input|lines|output|p?open|read|tmpfile|type|write|std(in|out|err))\>"
 color brightyellow "\<math\.(abs|acos|asin|atan2?|ceil|cosh?|deg|exp|floor|fmod|frexp|huge|ldexp|log10|log)\>"
 color brightyellow "\<math\.((max|min)(integer)?|modf?|pi|pow|rad|random(seed)?|sinh?|sqrt|tan|tointeger|type|ult)\>"
-- 
GitLab