mirror of
https://github.com/godotengine/emacs-gdscript-mode.git
synced 2026-02-25 06:33:10 +03:00
fix: elif/else dedenting behavior
Fix string-prefix-p parameter order in gdscript-info-dedenter-opening-block-positions
This commit is contained in:
@@ -711,7 +711,7 @@ likely an invalid gdscript file."
|
||||
(when
|
||||
(seq-contains-p possible-opening-blocks
|
||||
(string-trim (match-string-no-properties 0))
|
||||
(lambda (elt e) (string-prefix-p e elt)))
|
||||
(lambda (elt e) (string-prefix-p elt e)))
|
||||
(setq opening-blocks (cons (point) opening-blocks))))
|
||||
(when (zerop indentation)
|
||||
(throw 'exit nil)))))
|
||||
|
||||
Reference in New Issue
Block a user