emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/lua-mode f4ab885 144/468: lua-cont-eol-regexp: add "return


From: Philip Kaludercic
Subject: [nongnu] elpa/lua-mode f4ab885 144/468: lua-cont-eol-regexp: add "return" keyword too
Date: Thu, 5 Aug 2021 04:58:24 -0400 (EDT)

branch: elpa/lua-mode
commit f4ab885a193d587260014dff768b41efe900027a
Author: immerrr <immerrr+lua@gmail.com>
Commit: immerrr <immerrr+lua@gmail.com>

    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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]