diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2021-11-08 11:14:43 +0100 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2021-11-08 11:14:43 +0100 |
| commit | 4585163bc262d7e4b86e2cadaebd7bcd0ad16ed3 (patch) | |
| tree | f3502a39345172f24898d6ea7e573529083bb2d5 | |
| parent | 5440b4142a98a6ffee027641ead4133b52040bd4 (diff) | |
corfu--format-candidates: Ensure that corfu-min-width is respected
| -rw-r--r-- | corfu.el | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -605,10 +605,9 @@ completion began less than that number of seconds ago." (concat prefix (make-string (- pw (string-width prefix)) ?\s) cand - (unless (eq suffix "") - (make-string (+ (- cw (string-width cand)) - (- sw (string-width suffix))) - ?\s)) + (make-string (+ (- cw (string-width cand)) + (- sw (string-width suffix))) + ?\s) suffix) width)) cands))) |
