Skip to content

Commit

Permalink
[Evil] Cursor type is set to nil in evil when treemacs-show-cursor is…
Browse files Browse the repository at this point in the history
… disabled.
  • Loading branch information
aaronjensen authored and Alexander-Miller committed Aug 13, 2024
1 parent 568357c commit 30919bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/elisp/treemacs-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ Will simply return `treemacs--eldoc-msg'."
(setq evil-treemacs-state-cursor
(if treemacs-show-cursor
evil-motion-state-cursor
'(bar . 0)))))
(lambda () (setq cursor-type nil))))))

;; higher fuzz value makes it less likely to start a mouse drag
;; and make a switch to visual state
Expand Down

0 comments on commit 30919bb

Please sign in to comment.