Fix :narrow ex command
This commit is contained in:
parent
f9190c08bf
commit
20d15c685e
1 changed files with 3 additions and 1 deletions
|
@ -138,7 +138,9 @@ integration."
|
||||||
"Wrapper around `doom/clone-and-narrow-buffer'."
|
"Wrapper around `doom/clone-and-narrow-buffer'."
|
||||||
:move-point nil
|
:move-point nil
|
||||||
(interactive "<r><!>")
|
(interactive "<r><!>")
|
||||||
(doom/clone-and-narrow-buffer beg end bang))
|
(if bang
|
||||||
|
(doom/widen-indirectly-narrowed-buffer bang)
|
||||||
|
(doom/narrow-buffer-indirectly beg end)))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun +evil/next-beginning-of-method (count)
|
(defun +evil/next-beginning-of-method (count)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue