From 3f40e31bb5d31fc6d031c636f9e074f17ea256fc Mon Sep 17 00:00:00 2001 From: Aaron Jensen Date: Sat, 29 Jun 2024 00:34:45 -0400 Subject: [PATCH] Cursor type is set to nil in evil when treemacs-show-cursor is disabled --- src/elisp/treemacs-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/elisp/treemacs-mode.el b/src/elisp/treemacs-mode.el index 69e73c20..0c869a3f 100644 --- a/src/elisp/treemacs-mode.el +++ b/src/elisp/treemacs-mode.el @@ -336,7 +336,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