branch: externals/vertico
commit b5cfdd70990050d2acfbcf0c00a5e5eae6d9a5b3
Author: Daniel Mendler <m...@daniel-mendler.de>
Commit: Daniel Mendler <m...@daniel-mendler.de>

    Handle completion boundaries
---
 minicomp.el | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/minicomp.el b/minicomp.el
index 0497931..6995ee7 100644
--- a/minicomp.el
+++ b/minicomp.el
@@ -232,7 +232,11 @@
          (hl-candidates
           (if (and (memq 'orderless completion-styles)
                    (fboundp 'orderless-highlight-matches))
-              (orderless-highlight-matches input candidates)
+              (orderless-highlight-matches
+               (substring input
+                          (car (completion-boundaries input 
minibuffer-completion-table
+                                                      
minibuffer-completion-predicate "")))
+               candidates)
             candidates))
          (ann-candidates (minicomp--annotate metadata candidates))
          (title nil)

Reply via email to