diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2021-11-08 10:56:00 +0100 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2021-11-08 10:56:00 +0100 |
| commit | 5440b4142a98a6ffee027641ead4133b52040bd4 (patch) | |
| tree | 71b11ee309faa14c14ef1048f412d29a62005139 | |
| parent | 1c7fdb15c200cee9c6836dfc861f7c5216f606e9 (diff) | |
corfu--format-candidates: Fully right align suffixes
| -rw-r--r-- | corfu.el | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -605,7 +605,10 @@ 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)) ?\s)) + (unless (eq suffix "") + (make-string (+ (- cw (string-width cand)) + (- sw (string-width suffix))) + ?\s)) suffix) width)) cands))) |
