diff options
| author | Daniel Mendler <mail@daniel-mendler.de> | 2021-04-23 19:56:53 +0200 |
|---|---|---|
| committer | Daniel Mendler <mail@daniel-mendler.de> | 2021-04-23 19:56:53 +0200 |
| commit | e72079d65612909fe51dfa2fa72c737d0868f09e (patch) | |
| tree | ad9dffeb9e5339441709c61537a168fb09de9f52 | |
| parent | 0f863ef9bde64042a7cde65e0f3cb0056d095505 (diff) | |
Update readme
| -rw-r--r-- | README.org | 15 |
1 files changed, 7 insertions, 8 deletions
@@ -19,14 +19,13 @@ Corfu and Vertico are two separate packages in order to optimize the UI for the two distinct use cases, also leading to code bases which are easier to understand. -Corfu is a minimal package of less than 500 lines of code (my arbitrary limit -for small components providing a single specific feature). In contrast to the -featureful and complex Company package, Corfu only offers a completion UI and -does not include custom completion backends. Completions are generated by -calling the ~completion-at-point-functions~ (Capfs). Many code completion -backends provide such a Capf, such that relying only on the default completion -is often sufficient. For example the language server packages, [[https://github.com/joaotavora/eglot][Eglot]] and -[[https://github.com/emacs-lsp/lsp-mode][Lsp-mode]], both implement a Capf. +Corfu is a minimal package (~500 lines of code without whitespace and comments). +In contrast to the featureful and complex Company package, Corfu only offers a +completion UI and does not include custom completion backends. Completions are +generated by calling the ~completion-at-point-functions~ (Capfs). Many code +completion backends provide such a Capf, such that relying only on the default +completion is often sufficient. For example the language server packages, [[https://github.com/joaotavora/eglot][Eglot]] +and [[https://github.com/emacs-lsp/lsp-mode][Lsp-mode]], both implement a Capf. [[https://github.com/minad/corfu/blob/main/screenshot.png?raw=true]] |
