[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/lua-mode b10d6ae 232/468: Add missing modulo operator (%)
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa/lua-mode b10d6ae 232/468: Add missing modulo operator (%) to line-continuation tokens |
Date: |
Thu, 5 Aug 2021 04:58:42 -0400 (EDT) |
branch: elpa/lua-mode
commit b10d6ae1343d4e0b6b3225b91678ff2ac6e67416
Author: immerrr <immerrr+lua@gmail.com>
Commit: immerrr <immerrr+lua@gmail.com>
Add missing modulo operator (%) to line-continuation tokens
---
lua-mode.el | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/lua-mode.el b/lua-mode.el
index 9ce1214..c15e2fe 100644
--- a/lua-mode.el
+++ b/lua-mode.el
@@ -627,6 +627,7 @@ Groups 6-9 can be used in any of argument regexps."
(modify-syntax-entry ?* ".")
(modify-syntax-entry ?/ ".")
(modify-syntax-entry ?^ ".")
+ (modify-syntax-entry ?% ".")
(modify-syntax-entry ?> ".")
(modify-syntax-entry ?< ".")
(modify-syntax-entry ?= ".")
@@ -1071,10 +1072,10 @@ Returns final value of point as integer or nil if
operation failed."
"local" "function" "if" "until" "elseif" "return") t)
"\\_>\\|"
"\\(^\\|[^" lua-operator-class "]\\)"
- (regexp-opt '("+" "-" "*" "/" "^" ".." "==" "=" "<" ">" "<=" ">=" "~=") t)
+ (regexp-opt '("+" "-" "*" "/" "%" "^" ".." "=="
+ "=" "<" ">" "<=" ">=" "~=" "." ":" ) t)
"\\)"
- "\\s *\\=")
- )
+ "\\s *\\="))
"Regexp that matches the ending of a line that needs continuation
This regexp starts from eol and looks for a binary operator or an unclosed
@@ -1088,11 +1089,10 @@ an optional whitespace till the end of the line.")
"\\(\\_<"
(regexp-opt '("and" "or" "not") t)
"\\_>\\|"
- (regexp-opt '("+" "-" "*" "/" "^" ".." "==" "=" "<" ">" "<=" ">=" "~=") t)
+ (regexp-opt '("+" "-" "*" "/" "%" "^" ".." "=="
+ "=" "<" ">" "<=" ">=" "~=" "." ":") t)
"\\($\\|[^" lua-operator-class "]\\)"
- "\\)")
-
- )
+ "\\)"))
"Regexp that matches a line that continues previous one
This regexp means, starting from point there is an optional whitespace followed
- [nongnu] elpa/lua-mode a1dc850 207/468: Post-refactoring fix: evaluate string variables in font-lock-defaults value, (continued)
- [nongnu] elpa/lua-mode a1dc850 207/468: Post-refactoring fix: evaluate string variables in font-lock-defaults value, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 8ffd075 208/468: lua-calculate-indentation-info: non-functional refactoring, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 4484128 215/468: lua-calculate-indentation-override: unindent to the last block-close token, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 79e6815 216/468: Rewrite lua-beginning-of-proc, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode f2e7138 220/468: Move font-lock test helpers into a separate file, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 94aadfd 221/468: Font-lock "nil", "true" and "false" as constants rather than keywords, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 617c392 224/468: make test: test both compiled and uncompiled variants, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 7157658 225/468: Create cask project; pull in ert.el to enable testing emacs23, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode ed76a6e 227/468: .gitignore: ignore all *.elc, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 67a9022 229/468: test-electric-mode: check interaction with electric-pair-skip-self flag, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode b10d6ae 232/468: Add missing modulo operator (%) to line-continuation tokens,
Philip Kaludercic <=
- [nongnu] elpa/lua-mode 2d308e8 237/468: Move "no-query-on-exit" initialization to lua-start-process, update it, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 397b883 236/468: Send code to inferior process via loadstring to avoid tempfile issues, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 24cc45e 239/468: Skip shebang line when sending to inferior buffer (issue #61), Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode c53d071 344/468: travis: disable git-snapshot, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode cccb649 346/468: Cask: specify minimum version for buttercup, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode d5891c5 345/468: Merge pull request #140 from immerrr/fix-buttercup-matchers, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode b27edce 348/468: Minor simplification of lua-get-create-process, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 34e911b 358/468: travis: disable git-snapshot, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 4cb20c0 359/468: Cask: specify minimum version for buttercup, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode c850d2e 357/468: test-inferior-process: temporarily disable failing test, Philip Kaludercic, 2021/08/05