Commit Graph
3359 Commits
Author SHA1 Message Date
Matt Sturgeon 70e8dfadba ci/update: fix how 're-apply' finds the 'base' commit
We need to look for a commit authored by `nixvim-ci[bot]`,
not `github-actions[bot]`.

(cherry picked from commit 80934be3e9)
2025-06-03 11:03:58 +01:00
Matt Sturgeon 674a498206 ci/update: cleanup how we get nixvim-ci's user-info
Get id, name, & email in a single `user-info` step.

(cherry picked from commit 2d60548ab1)
2025-06-03 11:03:58 +01:00
Matt Sturgeon 27a01e25b6 version-info: init
(cherry picked from commit 46fd0b184c)
2025-06-03 10:52:27 +01:00
Matt Sturgeon 215e992e26 update-scripts/update: write version-info during update
(cherry picked from commit cd7a41c23c)
2025-06-03 09:46:14 +00:00
Matt Sturgeon 47699135a5 update-scripts: move update logic from CI to dedicated script
(cherry picked from commit 132c1611f6)
2025-06-03 09:46:14 +00:00
Matt Sturgeon 379d8bb5ca update-scripts/version-info: init
Writes a version-info.toml file.

(cherry picked from commit 7a4c70c55f)
2025-06-03 09:46:14 +00:00
Matt Sturgeon b04aa8fb49 update-scripts: get nixpkgs using flak-compat
This ensures we get an actual nixpkgs flake, which will have source info
like `rev`.

It also means we have access to `nixvim` if we need it.

(cherry picked from commit bfee503e0f)
2025-06-03 09:46:14 +00:00
Matt Sturgeon d14de7a243 flake/ci: re-enable package tests on buildbot
(cherry picked from commit 6c456efc96)
2025-06-02 11:00:38 +00:00
Matt Sturgeon 3e64ce020d flake/ci: re-enable most tests on buildbot
Most still run on all platforms, but many now only run on x86_64-linux.

(cherry picked from commit 7d0ac00557)
2025-06-02 11:00:38 +00:00
Matt Sturgeon 841e9ac7f8 buildbot: init config
(cherry picked from commit 74e6ada9d1)
2025-06-02 11:00:38 +00:00
Matt Sturgeon 2a7854903c flake/ci: add ci.buildbot output
Adds top-level and per-system `ci.buildbot` option for defining tests to
build on buildbot.

These are exposed as the `ci.buildbot.«system»` flake output.

(cherry picked from commit e18d3fb280)
2025-06-02 11:00:38 +00:00
nixvim-ci[bot] 82fafc9f9f flake/dev/flake.lock: Update
Flake lock file updates:

• Updated input 'dev-nixpkgs':
    'github:NixOS/nixpkgs/55d1f923c480dadce40f5231feb472e81b0bab48?narHash=sha256-y2ZtlIlNTuVJUZCqzZAhIw5rrKP4DOSklev6c8PyCkQ%3D' (2025-05-22)
  → 'github:NixOS/nixpkgs/7282cb574e0607e65224d33be8241eae7cfe0979?narHash=sha256-hYKMs3ilp09anGO7xzfGs3JqEgUqFMnZ8GMAqI6/k04%3D' (2025-05-28)
• Updated input 'home-manager':
    'github:nix-community/home-manager/d0bbd221482c2713cccb80220f3c9d16a6e20a33?narHash=sha256-Qb84nbYFFk0DzFeqVoHltS2RodAYY5/HZQKE8WnBDsc%3D' (2025-05-18)
  → 'github:nix-community/home-manager/282e1e029cb6ab4811114fc85110613d72771dea?narHash=sha256-RMhjnPKWtCoIIHiuR9QKD7xfsKb3agxzMfJY8V9MOew%3D' (2025-05-31)
• Updated input 'nix-darwin':
    'github:lnl7/nix-darwin/2456ff5c95edfc3b197cb012b947012faed77591?narHash=sha256-9bJzyUX5%2BHXYmI60WMGYXXDdhGbSh1Le6yBM4og3K7E%3D' (2025-05-23)
  → 'github:lnl7/nix-darwin/75b99daa12b1fffd646d6c3cf13b06f1fa5cef63?narHash=sha256-qi6aDGP2W6GyAUNEhg%2BslQWEpUiJ8LNIrQkmxHpzadI%3D' (2025-05-27)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/020cb423808365fa3f10ff4cb8c0a25df35065a3?narHash=sha256-XgxghfND8TDypxsMTPU2GQdtBEsHTEc3qWE6RVEk8O0%3D' (2025-05-22)
  → 'github:numtide/treefmt-nix/1f3f7b784643d488ba4bf315638b2b0a4c5fb007?narHash=sha256-9YzfeN8CB6SzNPyPm2XjRRqSixDopTapaRsnTpXUEY8%3D' (2025-05-26)
2025-05-31 12:47:47 +00:00
nixvim-ci[bot] 02e9ccab88 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/55d1f923c480dadce40f5231feb472e81b0bab48?narHash=sha256-y2ZtlIlNTuVJUZCqzZAhIw5rrKP4DOSklev6c8PyCkQ%3D' (2025-05-22)
  → 'github:NixOS/nixpkgs/7282cb574e0607e65224d33be8241eae7cfe0979?narHash=sha256-hYKMs3ilp09anGO7xzfGs3JqEgUqFMnZ8GMAqI6/k04%3D' (2025-05-28)
• Updated input 'nuschtosSearch':
    'github:NuschtOS/search/066afe8643274470f4a294442aadd988356a478f?narHash=sha256-8v4y6k16Ra/fiecb4DxhsoOGtzLKgKlS%2B9/XJ9z0T2I%3D' (2025-04-19)
  → 'github:NuschtOS/search/f8a1c221afb8b4c642ed11ac5ee6746b0fe1d32f?narHash=sha256-PP11GVwUt7F4ZZi5A5%2B99isuq39C59CKc5u5yVisU/U%3D' (2025-05-26)
• Updated input 'nuschtosSearch/ixx':
    'github:NuschtOS/ixx/a1176e2a10ce745ff8f63e4af124ece8fe0b1648?narHash=sha256-fTVAWzT1UMm1lT%2BYxHuVPtH%2BDATrhYfea3B0MxG/cGw%3D' (2025-01-20)
  → 'github:NuschtOS/ixx/cc5f390f7caf265461d4aab37e98d2292ebbdb85?narHash=sha256-FVO01jdmUNArzBS7NmaktLdGA5qA3lUMJ4B7a05Iynw%3D' (2025-05-26)
2025-05-31 12:47:43 +00:00
Alex Hamilton cfea16cdbe flake/wrappers: Deprecate homeManagerModules output
(cherry picked from commit b37d429468)
2025-05-25 18:27:15 +00:00
Alex Hamilton b45e24bf38 flake/wrappers: Make homeModules the canonical name
(cherry picked from commit e4a27ae810)
2025-05-25 18:27:15 +00:00
Alex Hamilton 8716bc557a Migrate homeManagerModules uses to homeModules
(cherry picked from commit c10f60d007)
2025-05-25 18:27:15 +00:00
Alex Hamilton 44afa43b07 flake/wrappers: Add homeModules flake output
(cherry picked from commit c1a14f8f5c)
2025-05-25 18:27:14 +00:00
Andrey Petrov 645f466785 modules/lsp/servers: Fix lua_ls example
Example was referring to `luals` instead of `lua_ls`

(cherry picked from commit 1c5c991fda)
2025-05-25 15:57:08 +00:00
Matt Sturgeon 18f037aa57 flake: switch to 25.05 2025-05-25 05:07:27 +01:00
Gaetan Lepage 9a252f9040 plugins/lsp/lsp-packages: mark laravel_ls as unpackaged 2025-05-24 14:56:48 +02:00
nixvim-ci[bot] e746edd0d4 generated: Updated lspconfig-servers.json 2025-05-24 12:46:30 +00:00
nixvim-ci[bot] 4543763cdb flake/dev/flake.lock: Update
Flake lock file updates:

• Updated input 'dev-nixpkgs':
    'github:NixOS/nixpkgs/eaeed9530c76ce5f1d2d8232e08bec5e26f18ec1?narHash=sha256-ByfPRQuqj%2BnhtVV0koinEpmJw0KLzNbgcgi9EF%2BNVow%3D' (2025-05-12)
  → 'github:NixOS/nixpkgs/fe51d34885f7b5e3e7b59572796e1bcb427eccb1?narHash=sha256-qmmFCrfBwSHoWw7cVK4Aj%2Bfns%2Bc54EBP8cGqp/yK410%3D' (2025-05-22)
• Updated input 'git-hooks':
    'github:cachix/git-hooks.nix/fa466640195d38ec97cf0493d6d6882bc4d14969?narHash=sha256-Wb2xeSyOsCoTCTj7LOoD6cdKLEROyFAArnYoS%2BnoCWo%3D' (2025-05-06)
  → 'github:cachix/git-hooks.nix/80479b6ec16fefd9c1db3ea13aeb038c60530f46?narHash=sha256-2Y53NGIX2vxfie1rOW0Qb86vjRZ7ngizoo%2BbnXU9D9k%3D' (2025-05-16)
• Updated input 'home-manager':
    'github:nix-community/home-manager/7c1cefb98369cc85440642fdccc1c1394ca6dd2c?narHash=sha256-GBZulv50wztp5cgc405t1uOkxQYhSkMqeKLI%2BiSrlpk%3D' (2025-05-14)
  → 'github:nix-community/home-manager/7419250703fd5eb50e99bdfb07a86671939103ea?narHash=sha256-pQQnbxWpY3IiZqgelXHIe/OAE/Yv4NSQq7fch7M6nXQ%3D' (2025-05-23)
• Updated input 'nix-darwin':
    'github:lnl7/nix-darwin/f88be00227161a1e9369a1d199f452dd5d720feb?narHash=sha256-Ou4zV3OskaDKlkuiM2VT%2B1w/xceXoZ5RRM4ZuW7n5%2BI%3D' (2025-05-13)
  → 'github:lnl7/nix-darwin/acd6aa5a9065c6695212be313e06f08f7184cb25?narHash=sha256-dFqlLNW6UW19m0vg5FHWLH2G2LGkqYyPs/4YqfoZMoM%3D' (2025-05-24)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/708ec80ca82e2bbafa93402ccb66a35ff87900c5?narHash=sha256-uoQ21EWsAhyskNo8QxrTVZGjG/dV4x5NM1oSgrmNDJY%3D' (2025-05-11)
  → 'github:numtide/treefmt-nix/020cb423808365fa3f10ff4cb8c0a25df35065a3?narHash=sha256-XgxghfND8TDypxsMTPU2GQdtBEsHTEc3qWE6RVEk8O0%3D' (2025-05-22)
2025-05-24 12:46:04 +00:00
nixvim-ci[bot] 078dad75db flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/eaeed9530c76ce5f1d2d8232e08bec5e26f18ec1?narHash=sha256-ByfPRQuqj%2BnhtVV0koinEpmJw0KLzNbgcgi9EF%2BNVow%3D' (2025-05-12)
  → 'github:NixOS/nixpkgs/fe51d34885f7b5e3e7b59572796e1bcb427eccb1?narHash=sha256-qmmFCrfBwSHoWw7cVK4Aj%2Bfns%2Bc54EBP8cGqp/yK410%3D' (2025-05-22)
2025-05-24 12:46:00 +00:00
Gaetan Lepage da74b41118 treewide: replace mentions of 24.11 with 25.05
(cherry picked from commit 764a9b8dda)
2025-05-24 08:44:42 +00:00
Gaetan Lepage bf50def4f8 ci/docs: build documentation for the nixos-25.05 branch
(cherry picked from commit f80d8d5907)
2025-05-24 08:44:42 +00:00
Matt Sturgeon 3117e87095 docs/mdbook: install directly to $out
(cherry picked from commit e3f4a57fb8)
2025-05-24 00:26:16 +01:00
Matt Sturgeon 240a7c2fdf ci/update: use nix-community GitHub App
(cherry picked from commit ad7e489aa1)
2025-05-23 19:18:11 +00:00
Heitor Augusto 6ef96cb478 plugins/copilot-chat: add curl dependency 2025-05-18 15:27:42 -03:00
Heitor Augusto 928fc1a16f plugins/copilot-chat: helpers -> lib.nixvim 2025-05-18 15:26:09 -03:00
Heitor Augusto 68dd111eb3 plugins/copilot-chat: remove with lib 2025-05-18 15:23:31 -03:00
Heitor Augusto 5474f9a33f plugins/copilot-lua: add nodejs dependency and remove nodePackage option 2025-05-17 20:28:20 -03:00
Heitor Augusto 284ce8043b plugins/copilot-lua: add curl dependency 2025-05-17 20:28:11 -03:00
Heitor Augusto 1deeb7f689 plugins/lsp: add package for luau_lsp 2025-05-17 12:32:21 -03:00
Matt Sturgeon 61c44d7a7f docs/man: minor cleanup
- Move lua filter to separate file
- Use a subshell to write `nixvim-header.5`
- Use bash function to avoid repetition
2025-05-17 03:30:13 +01:00
Matt Sturgeon 2a4719f275 docs/mdbook: add page ToC
https://github.com/slowsage/mdbook-pagetoc
2025-05-17 02:24:00 +01:00
Matt Sturgeon ffdeb40a50 flake/dev: sort flake inputs 2025-05-17 00:07:06 +01:00
Matt Sturgeon 0ccc452af2 maintainers: enforce sorting 2025-05-17 00:07:06 +01:00
Matt Sturgeon 0a6bd171cf flake: add keep-sorted to treefmt 2025-05-17 00:07:06 +01:00
Matt Sturgeon 2628efee71 flake/devshell: add treefmt to shell 2025-05-16 04:29:34 +01:00
Matt Sturgeon 4c989abc8c flake/devshell: run treefmt directly in format command
This is much faster than running `nix fmt`.

Running treefmt directly will use the treefmt installed in the current
shell. Running `nix fmt` will first re-evaluate the flake.
2025-05-16 04:29:34 +01:00
Matt Sturgeon 46e1359338 flake: use pre-configured treefmt package in git-hooks 2025-05-16 04:05:42 +01:00
github-actions[bot] 95ca65c8d1 flake/dev/flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/8d832ddfda9facf538f3dda9b6985fb0234f151c?narHash=sha256-NnPzzXEqfYjfrimLzK0JOBItfdEJdP/i6SNTuunCGgw%3D' (2025-05-13)
  → 'github:nix-community/home-manager/7c1cefb98369cc85440642fdccc1c1394ca6dd2c?narHash=sha256-GBZulv50wztp5cgc405t1uOkxQYhSkMqeKLI%2BiSrlpk%3D' (2025-05-14)
2025-05-14 12:16:07 +00:00
FKouhai 1c53ad9b2f plugins/timerly: init 2025-05-13 23:50:02 +02:00
Gaetan Lepage d385972711 Revert "tests/lsp: disable ols test because odin is broken"
This reverts commit 6597afe209.
2025-05-13 21:30:47 +00:00
github-actions[bot] 64880922bd flake/dev/flake.lock: Update
Flake lock file updates:

• Updated input 'dev-nixpkgs':
    'github:NixOS/nixpkgs/b3582c75c7f21ce0b429898980eddbbf05c68e55?narHash=sha256-FshoQvr6Aor5SnORVvh/ZdJ1Sa2U4ZrIMwKBX5k2wu0%3D' (2025-05-07)
  → 'github:NixOS/nixpkgs/eaeed9530c76ce5f1d2d8232e08bec5e26f18ec1?narHash=sha256-ByfPRQuqj%2BnhtVV0koinEpmJw0KLzNbgcgi9EF%2BNVow%3D' (2025-05-12)
• Updated input 'home-manager':
    'github:nix-community/home-manager/fb061f555f821fe4fb49f8f6f2a0cc3d5728bd52?narHash=sha256-IDsM/9/tHQBlhG3tXI2fTM84AUN1uRa7JDPT1LMlGes%3D' (2025-05-12)
  → 'github:nix-community/home-manager/8d832ddfda9facf538f3dda9b6985fb0234f151c?narHash=sha256-NnPzzXEqfYjfrimLzK0JOBItfdEJdP/i6SNTuunCGgw%3D' (2025-05-13)
• Updated input 'nix-darwin':
    'github:lnl7/nix-darwin/6cb36e8327421c61e5a3bbd08ed63491b616364a?narHash=sha256-GeC99gu5H6%2BAjBXsn5dOhP4/ApuioGCBkufdmEIWPRs%3D' (2025-05-08)
  → 'github:lnl7/nix-darwin/f88be00227161a1e9369a1d199f452dd5d720feb?narHash=sha256-Ou4zV3OskaDKlkuiM2VT%2B1w/xceXoZ5RRM4ZuW7n5%2BI%3D' (2025-05-13)
2025-05-13 21:30:23 +00:00
github-actions[bot] fcd3accd34 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/b3582c75c7f21ce0b429898980eddbbf05c68e55?narHash=sha256-FshoQvr6Aor5SnORVvh/ZdJ1Sa2U4ZrIMwKBX5k2wu0%3D' (2025-05-07)
  → 'github:NixOS/nixpkgs/eaeed9530c76ce5f1d2d8232e08bec5e26f18ec1?narHash=sha256-ByfPRQuqj%2BnhtVV0koinEpmJw0KLzNbgcgi9EF%2BNVow%3D' (2025-05-12)
2025-05-13 21:30:19 +00:00
Matt Sturgeon cbd5f7de5e modules/lsp/onAttach: fix bufnr and document event arg
`:h event-args`: https://neovim.io/doc/user/api.html#event-args
`:h LspAttach`: https://neovim.io/doc/user/lsp.html#LspAttach

Fixes #3319
2025-05-13 18:45:00 +01:00
Farid Zakaria ff0ccdf572 docs: add note on "following" nixpkgs input (#3317)
The use of `follows` in a flake can cause issues even when `useGlobalPackages` is disabled.

Highlight this in the doc.
2025-05-12 21:58:54 +01:00
Stanislav Asunkin 49a7bb573a modules/top-level: change usages of import to callPackage 2025-05-12 17:39:01 +03:00
Stanislav Asunkin 4c23fb2738 tests/modules/performance/combine-plugins: use shared stub plugins
This commit replaces stub plugins with the shared ones from utils
module.
This also removes separate tests for checking python and lua
dependencies. This is now tested in the 'default' test thanks to
`pluginChecks` code.
2025-05-12 17:39:01 +03:00