refactor!(nvim): switch to blink-cmp #818

Merged
jalil merged 1 commit from push-znysxxpotylx into main 2026-01-06 21:07:38 +01:00
Owner

Use blink-cmp instead of cmp.nvim, it's supposed to be better/faster.

Use `blink-cmp` instead of `cmp.nvim`, it's supposed to be better/faster.
jalil self-assigned this 2026-01-06 20:59:20 +01:00
refactor!(nvim): switch to blink-cmp
All checks were successful
/ build-package (search) (pull_request) Successful in 21s
/ check-nvim (nvim) (pull_request) Successful in 9s
/ check-nvim (nvim-headless) (pull_request) Successful in 3s
/ check-nvim (nvim-no-lsps) (pull_request) Successful in 5s
/ check-nvim (nvim-no-ts) (pull_request) Successful in 6s
/ check-nvim (nvim-small) (pull_request) Successful in 5s
/ build-vm (pull_request) Successful in 57s
/ build-hm (pull_request) Successful in 45s
/ report-size (pull_request) Successful in 2m46s
/ check-fmt (push) Successful in 2s
/ build-package (audiomenu) (push) Successful in 1s
/ build-package (docs) (push) Successful in 1s
/ build-package (docs-home-markdown) (push) Successful in 1s
/ build-package (docs-nixos-markdown) (push) Successful in 1s
/ build-package (docs-nvim-markdown) (push) Successful in 1s
/ build-package (jpassmenu) (push) Successful in 1s
/ build-package (nvim) (push) Successful in 1s
/ build-package (nvim-headless) (push) Successful in 1s
/ build-package (nvim-no-lsps) (push) Successful in 1s
/ build-package (nvim-no-ts) (push) Successful in 1s
/ build-package (nvim-small) (push) Successful in 1s
/ build-package (search) (push) Successful in 1s
/ check-nvim (nvim) (push) Successful in 1s
/ check-nvim (nvim-headless) (push) Successful in 1s
/ check-nvim (nvim-no-lsps) (push) Successful in 1s
/ check-nvim (nvim-no-ts) (push) Successful in 1s
/ check-nvim (nvim-small) (push) Successful in 1s
/ build-vm (push) Successful in 1s
/ build-hm (push) Successful in 1s
/ report-size (push) Successful in 6s
aae25d278f
Use `blink-cmp` instead of `cmp.nvim`, it's supposed to be
better/faster.

Signed-off-by: Jalil David Salamé Messina <jalil.salame@gmail.com>

Flake output sizes

Definitions
  • Name: the name of the package/configuration.
  • Size: the closure size (size on disk/NAR size + all transitive dependencies).
  • NAR Size: the size of the build output (package without the dependencies).
  • [NAR] Size Change: the amount changed compared to the main branch.
Tips on reading this data
  • For NixOS/Home-Manager configurations you generally care only about the Size (closure size/size on disk).
    • Reduce the Size by disabling unneeded services/default packages.
  • For Packages you care about both the Size and the NAR Size.
    • Reduce the NAR Size by reducing the size of the build outputs, e.g. don't copy unnecessary data to the $out dir, optimize binaries for size, etc.
    • Reduce the Size by reducing the dependencies (e.g. buildInputs).
    • Don't worry too much about size, some dependencies are deduplicated, e.g. glibc adds ~40MiB to the Size, but is generally shared by ~every binary on the system, so, chances are, you are already including it from somewhere else and statically linking with e.g. musl is not gonna improve things.

NixOS Configurations

Name Size Size Change NAR Size NAR Size Change
vm 11GiB 3.7MiB 20KiB 0B

Home Manager Configurations

Name Size Size Change NAR Size NAR Size Change
example 3.5GiB 3.7MiB 19KiB 0B

Packages

Name Size Size Change NAR Size NAR Size Change
audiomenu 174MiB 0B 7.3KiB 0B
docs 3.1MiB 0B 3.1MiB 0B
docs-home-markdown 12KiB 0B 12KiB 0B
docs-nixos-markdown 6.5KiB 0B 6.5KiB 0B
docs-nvim-markdown 2.4KiB 0B 2.4KiB 0B
jpassmenu 174MiB 0B 3.6KiB 0B
nvim 2.1GiB 3.7MiB 630KiB 0B
nvim-headless 482MiB -59MiB 630KiB 0B
nvim-no-lsps 1.1GiB 3.7MiB 630KiB 0B
nvim-no-ts 1.9GiB 3.7MiB 630KiB 0B
nvim-small 1.3GiB 3.7MiB 630KiB 0B
search 882KiB 0B 882KiB 0B
<!-- AUTOGENERATED by nix-flake-outputs-size action --> ## Flake output sizes <details><summary><b>Definitions</b></summary> - `Name`: the name of the package/configuration. - `Size`: the closure size (size on disk/NAR size + all transitive dependencies). - `NAR Size`: the size of the build output (package without the dependencies). - `[NAR] Size Change`: the amount changed compared to the main branch. </details> <details><summary><b>Tips on reading this data</b></summary> - For NixOS/Home-Manager configurations you generally care only about the `Size` (closure size/size on disk). - Reduce the `Size` by disabling unneeded services/default packages. - For Packages you care about both the `Size` and the `NAR Size`. - Reduce the `NAR Size` by reducing the size of the build outputs, e.g. don't copy unnecessary data to the $out dir, optimize binaries for size, etc. - Reduce the `Size` by reducing the dependencies (e.g. `buildInputs`). - Don't worry too much about size, some dependencies are deduplicated, e.g. `glibc` adds ~40MiB to the `Size`, but is generally shared by ~every binary on the system, so, chances are, you are already including it from somewhere else and statically linking with e.g. `musl` is not gonna improve things. </details> ## NixOS Configurations | Name | Size | Size Change | NAR Size | NAR Size Change | |------|-----:|------------:|---------:|----------------:| | `vm` | 11GiB | 3.7MiB | 20KiB | 0B | ## Home Manager Configurations | Name | Size | Size Change | NAR Size | NAR Size Change | |------|-----:|------------:|---------:|----------------:| | `example` | 3.5GiB | 3.7MiB | 19KiB | 0B | ## Packages | Name | Size | Size Change | NAR Size | NAR Size Change | |------|-----:|------------:|---------:|----------------:| | `audiomenu` | 174MiB | 0B | 7.3KiB | 0B | | `docs` | 3.1MiB | 0B | 3.1MiB | 0B | | `docs-home-markdown` | 12KiB | 0B | 12KiB | 0B | | `docs-nixos-markdown` | 6.5KiB | 0B | 6.5KiB | 0B | | `docs-nvim-markdown` | 2.4KiB | 0B | 2.4KiB | 0B | | `jpassmenu` | 174MiB | 0B | 3.6KiB | 0B | | `nvim` | 2.1GiB | 3.7MiB | 630KiB | 0B | | `nvim-headless` | 482MiB | -59MiB | 630KiB | 0B | | `nvim-no-lsps` | 1.1GiB | 3.7MiB | 630KiB | 0B | | `nvim-no-ts` | 1.9GiB | 3.7MiB | 630KiB | 0B | | `nvim-small` | 1.3GiB | 3.7MiB | 630KiB | 0B | | `search` | 882KiB | 0B | 882KiB | 0B |
jalil merged commit aae25d278f into main 2026-01-06 21:07:38 +01:00
jalil deleted branch push-znysxxpotylx 2026-01-06 21:07:38 +01:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jalil/configuration.nix!818
No description provided.