Fix comment indent in 'lua-ts-mode' and old grammar
* lisp/progmodes/lua-ts-mode.el (lua-ts--simple-indent-rules): Improve multi-line comment indention for pre-0.0.19 grammars that used a different structure for comment start/end markers. (Bug#75107)
This commit is contained in:
parent
8b95549e90
commit
54f3513709
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ values of OVERRIDE."
|
||||||
lua-ts--multi-line-comment-start
|
lua-ts--multi-line-comment-start
|
||||||
(parent-is "comment_content")
|
(parent-is "comment_content")
|
||||||
(parent-is "string_content")
|
(parent-is "string_content")
|
||||||
(node-is "]]"))
|
(or (node-is "]]") (node-is "comment_end")))
|
||||||
no-indent 0)
|
no-indent 0)
|
||||||
((and (n-p-gp "field" "table_constructor" "arguments")
|
((and (n-p-gp "field" "table_constructor" "arguments")
|
||||||
lua-ts--multi-arg-function-call-matcher
|
lua-ts--multi-arg-function-call-matcher
|
||||||
|
|
Loading…
Add table
Reference in a new issue