branch: elpa/lua-mode
commit f4ab885a193d587260014dff768b41efe900027a
Author: immerrr <[email protected]>
Commit: immerrr <[email protected]>
lua-cont-eol-regexp: add "return" keyword too
---
lua-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lua-mode.el b/lua-mode.el
index 127e117..82fc2fd 100644
--- a/lua-mode.el
+++ b/lua-mode.el
@@ -692,7 +692,7 @@ Returns final value of point as integer or nil if operation
failed."
(concat
"\\(\\_<"
(regexp-opt '("and" "or" "not" "in" "for" "while"
- "local" "function" "if" "until" "elseif") t)
+ "local" "function" "if" "until" "elseif" "return") t)
"\\_>\\|"
"\\(^\\|[^" lua-operator-class "]\\)"
(regexp-opt '("+" "-" "*" "/" "^" ".." "==" "=" "<" ">" "<=" ">=" "~=") t)