Fix doom--ivy-select-buffer-action choking on '[+]' buffer suffix
This commit is contained in:
parent
6206202d35
commit
bad68fc45c
1 changed files with 3 additions and 1 deletions
|
@ -37,7 +37,9 @@
|
||||||
|
|
||||||
(defun doom-ivy-select-buffer-action (buffer)
|
(defun doom-ivy-select-buffer-action (buffer)
|
||||||
(ivy--switch-buffer-action
|
(ivy--switch-buffer-action
|
||||||
(substring buffer 0 (s-index-of " " buffer))))
|
(s-chop-suffix
|
||||||
|
"[+]"
|
||||||
|
(substring buffer 0 (s-index-of " " buffer)))))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun doom/ivy-switch-project-buffer (&optional all-p)
|
(defun doom/ivy-switch-project-buffer (&optional all-p)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue