branch: elpa/lua-mode
commit 167e046785031be6b39375356e2aabf4c305896d
Author: immerrr <[email protected]>
Commit: immerrr <[email protected]>
lua-calculate-indentation-override: fix typo (caddr was a reference to
wrong field of token table)
---
lua-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lua-mode.el b/lua-mode.el
index bc41c8e..d352b03 100644
--- a/lua-mode.el
+++ b/lua-mode.el
@@ -972,7 +972,7 @@ to the left by the amount specified in lua-indent-level."
(looking-at lua-indentation-modifier-regexp)
(let ((token-info (lua-get-block-token-info (match-string 0))))
(and token-info
- (not (eq 'open (caddr token-info))))))
+ (not (eq 'open (lua-get-token-type token-info))))))
(when (lua-goto-matching-block-token nil nil 'backward)
;; Exception cases: when the start of the line is an assignment,
;; go to the start of the assignment instead of the matching item