branch: elpa/nix-mode commit 22500b7f72da52c2413417e108ff4e0d80cf0e23 Author: Matthew Bauer <mjbaue...@gmail.com> Commit: Matthew Bauer <mjbaue...@gmail.com>
fix tabbing --- nix-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nix-mode.el b/nix-mode.el index 8b39d2e3c1..fce22ed70e 100644 --- a/nix-mode.el +++ b/nix-mode.el @@ -208,8 +208,8 @@ If a close brace `}' ends an antiquote, the next character begins a string." (defun nix-indent-level () "Get current indent level." (* tab-width (+ - (nix-indent-level-parens (point)) - (if (nix-indent-level-is-closing) -1 + (nix-indent-level-parens (point)) + (if (nix-indent-level-is-closing) -1 (if (nix-indent-level-is-hanging) 1 0))))) (defun nix-indent-line ()