Fix #4268: off-by-one region on double-click

This commit is contained in:
Henrik Lissner 2020-11-14 13:58:57 -05:00
parent 969e6486f6
commit a14fb64c0c
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -74,9 +74,6 @@ directives. By default, this only recognizes C directives.")
;; Start help-with-tutorial in emacs state
(advice-add #'help-with-tutorial :after (lambda (&rest _) (evil-emacs-state +1)))
;; Allows you to click buttons without initiating a selection
(define-key evil-motion-state-map [down-mouse-1] nil)
;; Done in a hook to ensure the popup rules load as late as possible
(add-hook! 'doom-init-modules-hook
(defun +evil--init-popup-rules-h ()