branch: elpa/nix-mode commit 1cc3cffa29a7349c89d490778303765b97c9ded6 Author: Matthew Bauer <mjbaue...@gmail.com> Commit: Matthew Bauer <mjbaue...@gmail.com>
Pick up extra "let" found in acme.nix. --- nix-mode.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nix-mode.el b/nix-mode.el index 42ec3e63f2..123b2b9a43 100644 --- a/nix-mode.el +++ b/nix-mode.el @@ -184,7 +184,8 @@ If a close brace `}' ends an antiquote, the next character begins a string." ((and (or (looking-at "[[:space:]]*let$") - (looking-at "[[:space:]]*let[[:space:]]")) + (looking-at "[[:space:]]*let[[:space:]]") + (looking-at ".*[[:space:]]let$")) (not (or (looking-at ".*[[:space:]]in$")