Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cxxxr committed Nov 5, 2024
1 parent 4d761b2 commit 5687f52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/nix-mode/indent.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@

(defun calc-indent (point)
(with-point ((point point))
(let ((tab-width (variable-value 'tab-width :default point))
(let ((tab-width 2)
(column (point-column point)))
(+ column (- tab-width (rem column tab-width))))))

0 comments on commit 5687f52

Please sign in to comment.