[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master d9d6064 241/399: ivy.el (ivy-completion-in-region-action):
From: |
Oleh Krehel |
Subject: |
[elpa] master d9d6064 241/399: ivy.el (ivy-completion-in-region-action): Obey :exit-function |
Date: |
Sat, 20 Jul 2019 14:57:32 -0400 (EDT) |
branch: master
commit d9d60643b13fb0cdf514a24756bd502b2cdad4fb
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>
ivy.el (ivy-completion-in-region-action): Obey :exit-function
Have `completion--done' obey the :exit-function logic for us.
See `completion--do-completion'.
Use case: the :exit-function in `eglot-completion-at-point' will erase
the inserted annotation, which holds e.g. the function argument list,
leaving only the function name.
---
ivy.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/ivy.el b/ivy.el
index c5aecb9..b0db837 100644
--- a/ivy.el
+++ b/ivy.el
@@ -2273,6 +2273,7 @@ The previous string is between `ivy-completion-beg' and
`ivy-completion-end'."
(delete-region beg end))
(setq ivy-completion-beg (point))
(insert (substring-no-properties str))
+ (completion--done str 'exact)
(setq ivy-completion-end (point))
(save-excursion
(dolist (cursor fake-cursors)
- [elpa] master 6fd1620 235/399: swiper.el (swiper--recenter-p): Extract, (continued)
- [elpa] master 6fd1620 235/399: swiper.el (swiper--recenter-p): Extract, Oleh Krehel, 2019/07/20
- [elpa] master 1d08b29 233/399: swiper.el (swiper-isearch): Ensure font lock, Oleh Krehel, 2019/07/20
- [elpa] master b49f17f 224/399: counsel.el (counsel-ag-function): Add dynamic case folding, Oleh Krehel, 2019/07/20
- [elpa] master e9f0772 218/399: ivy-test.el (counsel-find-file-with-dollars): Adjust, Oleh Krehel, 2019/07/20
- [elpa] master eee9716 236/399: Add open in dired action to counsel-file-jump, Oleh Krehel, 2019/07/20
- [elpa] master fb64ea3 237/399: swiper.el (swiper-mc): Works for swiper-isearch, Oleh Krehel, 2019/07/20
- [elpa] master 39a9e94 232/399: swiper.el (swiper-isearch-current-match): Add, Oleh Krehel, 2019/07/20
- [elpa] master b7574fe 234/399: swiper.el: Extra condition to recenter in terminal, Oleh Krehel, 2019/07/20
- [elpa] master 10755b2 239/399: swiper.el (swiper-isearch-toggle): Add, Oleh Krehel, 2019/07/20
- [elpa] master 38f8e45 242/399: swiper.el (swiper-isearch-toggle): Fix candidate jump in toggle, Oleh Krehel, 2019/07/20
- [elpa] master d9d6064 241/399: ivy.el (ivy-completion-in-region-action): Obey :exit-function,
Oleh Krehel <=
- [elpa] master 6075a73 243/399: swiper.el (swiper--add-overlays): Reuse swiper--add-overlay, Oleh Krehel, 2019/07/20
- [elpa] master 687aae2 246/399: swiper.el (swiper-query-replace): Check for empty input, Oleh Krehel, 2019/07/20
- [elpa] master 8df253a 249/399: swiper.el (swiper--isearch-same-line-p): Add, Oleh Krehel, 2019/07/20
- [elpa] master 773ac65 245/399: swiper.el (swiper--cleanup): Re-use lazy-highlight-cleanup, Oleh Krehel, 2019/07/20
- [elpa] master 815f094 252/399: swiper.el (swiper--add-line-overlay): Extract, Oleh Krehel, 2019/07/20
- [elpa] master eb1e636 253/399: swiper.el (swiper--add-cursor-overlay): Display only in current window, Oleh Krehel, 2019/07/20
- [elpa] master 7dc1445 256/399: swiper.el (swiper-isearch): Use the same faces in the minibuffer, Oleh Krehel, 2019/07/20
- [elpa] master 4d40f88 255/399: swiper.el (swiper--isearch-function): Speedup for big files, Oleh Krehel, 2019/07/20
- [elpa] master 2ce81eb 240/399: swiper.el (swiper-isearch-toggle): Extend doc, Oleh Krehel, 2019/07/20
- [elpa] master cc92e1c 238/399: swiper.el (swiper--avy-goto): Handle quit, Oleh Krehel, 2019/07/20