summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-11-10Variable width alignmentvariable-widthDaniel Mendler
Not pixels but floating point values in units of char width are used here. This is a bit simpler and probably flexible enough for our purposes.
2021-11-10corfu--popup-show: More robust right marginDaniel Mendler
2021-11-10Add corfu-kind-formatter (#75)Daniel Mendler
2021-11-10Fix right margin formattingDaniel Mendler
2021-11-10Replace corfu-margin-width with corfu-left/right-margin-widthDaniel Mendler
2021-11-10corfu--popup-show: Take width as argumentDaniel Mendler
2021-11-10Do not trim annotationsDaniel Mendler
2021-11-10Use cl-loopDaniel Mendler
2021-11-10Cleanup and lintingDaniel Mendler
2021-11-10Move popup by prefix widthDaniel Mendler
2021-11-10Revert "Minor cleanup"Daniel Mendler
This reverts commit 2bd0614c741584221a9c15b7fe3163c446153c6d.
2021-11-09Version 0.140.14Daniel Mendler
2021-11-08Minor cleanupDaniel Mendler
2021-11-08corfu-deprecated: inherit from shadow faceDaniel Mendler
2021-11-08corfu-auto: Second try. Support for company-prefix-length (Fix #70)Daniel Mendler
2021-11-08Revert "corfu-auto: Add support for company-prefix-length (Fix #70)"Daniel Mendler
This reverts commit e3f99f0066df68fb6598589473555c5634925d0c.
2021-11-08corfu-auto: Add support for company-prefix-length (Fix #70)Daniel Mendler
2021-11-08Add support for :company-deprecated completion metadataDaniel Mendler
2021-11-08corfu--format-candidates: No separator space if suffix is missingDaniel Mendler
2021-11-08corfu--popup-show: Use default-font-width to determine character widthDaniel Mendler
2021-11-08corfu--format-candidates: Ensure that corfu-min-width is respectedDaniel Mendler
2021-11-08corfu--format-candidates: Fully right align suffixesDaniel Mendler
2021-11-07corfu--format-candidates: Align annotations to the rightDaniel Mendler
2021-11-07corfu--affixate: NormalizeDaniel Mendler
2021-11-07corfu--popup-show: Ensure that frame is not too largeDaniel Mendler
2021-11-05Add corfu-annotations faceDaniel Mendler
2021-11-05Fix position computation, remove hack (Fix #69)Daniel Mendler
2021-11-04Minor optimizationDaniel Mendler
2021-11-04Do not bind while-no-input-ignore-eventsDaniel Mendler
2021-10-31README: Update caveatsDaniel Mendler
2021-10-18Store corfu--metadataDaniel Mendler
2021-10-17Simplify quitting behaviorDaniel Mendler
* Disable completion-in-region--postch in favor of the Corfu quitting criteria * Check if point is still on the same line as the completion beginning
2021-10-17README: Expand orderless configurationDaniel Mendler
2021-10-17Allow corfu-commit-predicate=nilDaniel Mendler
2021-10-17Generalize corfu-commit-predicateDaniel Mendler
Fix #49, Fix #52
2021-10-17Fix completion--capf-wrapper for non-exclusive capfsDaniel Mendler
Add corfu--capf-wrapper-advice around completion--capf-wrapper.
2021-10-14Set Corfu minibuffer explicitly (Fix #65)Daniel Mendler
2021-10-11More verbose error messageDaniel Mendler
2021-10-11Version 0.130.13Daniel Mendler
2021-10-11Check that completion field is non-emptyDaniel Mendler
2021-10-11Version 0.120.12Daniel Mendler
2021-10-11Revert "Do not reorder candidates with the input prefix before the others"Daniel Mendler
This reverts commit 98241803d1e2e7b422fc9606fe5fc6ab305e93bc.
2021-10-09define-minor-mode: Specify groupDaniel Mendler
2021-10-09Use elegant modus colors by defaultDaniel Mendler
2021-10-06Update READMEDaniel Mendler
2021-10-06Do not reorder candidates with the input prefix before the othersDaniel Mendler
* This code was introduced to ease the usage of Orderless, where the input must not necessarily occur at the beginning. My recommendation is to use an Orderless style dispatcher instead, where the first word is prefixed with ^ for Corfu. Doing this even results in a performance win, since Orderless compiles ^words in a smart way such that prefix filtering takes place inside the completion table. See https://github.com/oantolin/orderless/issues/79 and https://github.com/oantolin/orderless/issues/81. See the Orderless style dispatcher from the Consult wiki https://github.com/minad/consult/wiki: (defun +orderless-dispatch (pattern index _total) (cond ;; Treat first component as prefix. This is useful for Corfu completion-in-region. ((and completion-in-region-mode (= index 0)) `(orderless-regexp . ,(concat "^" (regexp-quote pattern)))) ...)) * If you use the basic completion style, the input is already used for prefix filtering and this change has no effect. * If you use another completion style which even sorts the candidates itself, e.g., flex, this change is advantageous since it gives the completion style more control.
2021-10-03Update READMEDaniel Mendler
2021-09-19Better criterion for auto completion (Fix #62)Daniel Mendler
2021-09-19Disallow selection of root window (Fix #63)Daniel Mendler
2021-09-11Mark window as dedicated to prevent frame reuse (Fix #60)Daniel Mendler