feature/evil: fix evil-ex-hl-do-update-highlight errors
This commit is contained in:
parent
75d8ee079d
commit
a6b524f3a3
1 changed files with 0 additions and 8 deletions
|
@ -31,7 +31,6 @@
|
|||
evil-magic t
|
||||
evil-echo-state t
|
||||
evil-indent-convert-tabs t
|
||||
evil-ex-interactive-search-highlight 'selected-window
|
||||
evil-ex-search-vim-style-regexp t
|
||||
evil-ex-substitute-global t
|
||||
evil-ex-visual-char-range t ; column range for ex commands
|
||||
|
@ -98,13 +97,6 @@
|
|||
(advice-add 'evil-window-split :after '+evil*window-follow)
|
||||
(advice-add 'evil-window-vsplit :after '+evil*window-vfollow)
|
||||
|
||||
;; Fix harmless (yet disruptive) error reporting w/ hidden buffers
|
||||
;; caused by dead popup windows
|
||||
;; TODO Delete timer on dead windows?
|
||||
(defun +evil*ignore-hl-errors (orig-fn &rest args)
|
||||
(ignore-errors (apply orig-fn args)))
|
||||
(advice-add 'evil-ex-hl-do-update-highlight :around '+evil*ignore-hl-errors)
|
||||
|
||||
;; monkey patch `evil-ex-replace-special-filenames' to add more ex
|
||||
;; substitution flags to evil-mode
|
||||
(advice-add 'evil-ex-replace-special-filenames
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue