Skip to content

Commit

Permalink
dont override user's tab preference
Browse files Browse the repository at this point in the history
  • Loading branch information
thornjad committed Jun 25, 2019
1 parent 0e7fa6b commit e0a06a6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rjsx-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -1339,8 +1339,7 @@ Fixes:

(defun rjsx--indent-line-1 ()
"Helper for `rjsx-indent-line'."
(let* ((indent-tabs-mode nil)
(cur-pos (point))
(let* ((cur-pos (point))
(cur-char (char-after cur-pos))
(node (js2-node-at-point (- cur-pos rjsx--indent-running-offset)))
(parent (js2-node-parent node)))
Expand Down

0 comments on commit e0a06a6

Please sign in to comment.