Commit graph

3393 commits

Author SHA1 Message Date
Matt Sturgeon
73ca23dd44
ci: use system as build name 2025-05-25 23:55:11 +01:00
Matt Sturgeon
920f15638e
ci/check: set build name 2025-05-25 23:47:28 +01:00
Matt Sturgeon
2ce3bdd6f3
ci: matrix.include 2025-05-25 23:42:32 +01:00
Matt Sturgeon
b147e6a6af
ci: stringify builds to JSON 2025-05-25 23:30:14 +01:00
Matt Sturgeon
032237634b
ci: fix references to attr 2025-05-25 23:23:32 +01:00
Matt Sturgeon
5853d93330
flake/dev: remove nix-github-actions dependency 2025-05-25 23:21:49 +01:00
Matt Sturgeon
ed2c309964
ci: nested matrix build 2025-05-25 23:20:50 +01:00
Matt Sturgeon
ce432ab608
ci: FIX passing os as an array 2025-05-25 21:56:30 +01:00
Matt Sturgeon
9863e247a5
ci: filter out test-N checks for now 2025-05-25 21:44:27 +01:00
Matt Sturgeon
f94d952820
ci/check: split build into reusable workflow 2025-05-25 21:42:51 +01:00
Matt Sturgeon
fd44fb9264
ci(check): split check-flake into another workflow 2025-05-25 21:02:08 +01:00
Matt Sturgeon
0f1c6e0d50
fixup! ci/check: init 2025-05-25 18:48:43 +01:00
Matt Sturgeon
f36263c712
fixup! ci/check: group test-N derivations into one drv 2025-05-25 18:21:01 +01:00
Matt Sturgeon
88fd87bf53
fixup! ci/check: init 2025-05-25 18:07:57 +01:00
Matt Sturgeon
4981d6a4e3
fixup! ci/check: init 2025-05-25 18:00:54 +01:00
Matt Sturgeon
2431cdc047
ci/check: group test-N derivations into one drv 2025-05-25 17:56:54 +01:00
Matt Sturgeon
f57d629bb0
ci/check: init
Adds a "check" CI workflow to replace buildbot.

Uses nix-community/nix-github-actions to generate a job matrix as a
`githubActions.matrix` flake output. This allows more customisation than
simply building _all_ `checks`.
2025-05-25 17:19:58 +01:00
Matt Sturgeon
2f610f9754
maintaining: initial "Releasing" section 2025-05-23 22:02:06 +01:00
Matt Sturgeon
1350e87fa4
maintaining: add sub "Deprecation" section 2025-05-23 22:02:06 +01:00
Matt Sturgeon
f39dd42824
maintaining: init
Add a MAINTAINING.md file where we can document internal maintenance
procedures.
2025-05-23 22:02:06 +01:00
Matt Sturgeon
e3f4a57fb8
docs/mdbook: install directly to $out
This fixes a regression introduced by https://github.com/nix-community/nixvim/pull/3349
2025-05-23 21:50:22 +01:00
Gaetan Lepage
4dc8d1e918 plugins/vim-test: init 2025-05-24 06:26:17 +10:00
Gaetan Lepage
c457fe9424 plugins/dbee: init 2025-05-24 06:14:14 +10:00
Matt Sturgeon
d88fde1899
ci/update-other: trigger updates for 25.05 2025-05-23 20:32:58 +01:00
Matt Sturgeon
ad7e489aa1
ci/update: use nix-community GitHub App 2025-05-23 19:49:03 +01:00
Matt Sturgeon
fb2d007f95
ci/update-other: don't run on forks 2025-05-23 18:59:43 +01:00
Gaetan Lepage
73c1a755f0 flake/dev/new-plugin: add missing ';' 2025-05-23 22:37:41 +10:00
github-actions[bot]
380aabb981 flake/dev/flake.lock: Update
Flake lock file updates:

• Updated input 'dev-nixpkgs':
    'github:NixOS/nixpkgs/a16efe5d2fc7455d7328a01f4692bfec152965b3?narHash=sha256-rSuxACdwx5Ndr2thpjqcG89fj8mSSp96CFoCt0yrdkY%3D' (2025-05-22)
  → 'github:NixOS/nixpkgs/e314d5c6d3b3a0f40ec5bcbc007b0cbe412f48ae?narHash=sha256-IlAuXnIi%2BZmyS89tt1YOFDCv7FKs9bNBHd3MXMp8PxE%3D' (2025-05-22)
• Updated input 'home-manager':
    'github:nix-community/home-manager/f9186c64fcc6ee5f0114547acf9e814c806a640b?narHash=sha256-tdVx4kghhdy62LKuTnwE2RytOe8o88tah/yhpyuL0D4%3D' (2025-05-22)
  → 'github:nix-community/home-manager/7419250703fd5eb50e99bdfb07a86671939103ea?narHash=sha256-pQQnbxWpY3IiZqgelXHIe/OAE/Yv4NSQq7fch7M6nXQ%3D' (2025-05-23)
• Updated input 'nix-darwin':
    'github:lnl7/nix-darwin/e2676937faf868111dcea6a4a9cf4b6549907c9d?narHash=sha256-oY/mH8K1LOd%2BYbO58sw9ORtOdTxy3rR9lvTzOJKVUtA%3D' (2025-05-21)
  → 'github:lnl7/nix-darwin/93562b65cf68612a544779c9f77536f9dff01096?narHash=sha256-i73u8NLiqewGy0iIriH4XizatLnAojXxzrBqHJEz49E%3D' (2025-05-23)
2025-05-23 12:16:32 +00:00
github-actions[bot]
d061f33d32 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/a16efe5d2fc7455d7328a01f4692bfec152965b3?narHash=sha256-rSuxACdwx5Ndr2thpjqcG89fj8mSSp96CFoCt0yrdkY%3D' (2025-05-22)
  → 'github:NixOS/nixpkgs/e314d5c6d3b3a0f40ec5bcbc007b0cbe412f48ae?narHash=sha256-IlAuXnIi%2BZmyS89tt1YOFDCv7FKs9bNBHd3MXMp8PxE%3D' (2025-05-22)
2025-05-23 12:16:24 +00:00
Matt Sturgeon
46fd0b184c
version-info: init 2025-05-22 21:27:21 +01:00
Matt Sturgeon
cd7a41c23c
update-scripts/update: write version-info during update 2025-05-22 21:27:21 +01:00
Matt Sturgeon
132c1611f6
update-scripts: move update logic from CI to dedicated script 2025-05-22 21:27:21 +01:00
Matt Sturgeon
7a4c70c55f
update-scripts/version-info: init
Writes a version-info.toml file.
2025-05-22 17:01:18 +01:00
Matt Sturgeon
bfee503e0f
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.
2025-05-22 15:45:36 +01:00
Matt Sturgeon
e385bec735
contributing: add note on testing the docs 2025-05-22 13:56:18 +01:00
Matt Sturgeon
1ff5e1a33b
docs/server: open browser using xdg-open 2025-05-22 13:48:58 +01:00
Matt Sturgeon
601d4309ed
docs/server: print the URL once serving 2025-05-22 13:48:58 +01:00
Matt Sturgeon
f3342bdbd4
docs: refactor serve-docs; add nix run .#docs
Refactor `serve-docs` using `makeWrapper`, make it available as a
`serve-docs` package and as the `docs` "app".

This means `nix build .#docs` will build the docs while `nix run .#docs`
will run the server.
2025-05-22 13:48:58 +01:00
github-actions[bot]
5c49988a7c flake/dev/flake.lock: Update
Flake lock file updates:

• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/ab0378b61b0d85e73a8ab05d5c6029b5bd58c9fb?narHash=sha256-bo1ptiFoNqm6m1B2iAhJmWCBmqveLVvxom6xKmtuzjg%3D' (2025-05-17)
  → 'github:numtide/treefmt-nix/020cb423808365fa3f10ff4cb8c0a25df35065a3?narHash=sha256-XgxghfND8TDypxsMTPU2GQdtBEsHTEc3qWE6RVEk8O0%3D' (2025-05-22)
2025-05-22 12:17:11 +00:00
github-actions[bot]
b288a5ff89 flake/dev/flake.lock: Update
Flake lock file updates:

• Updated input 'dev-nixpkgs':
    'github:NixOS/nixpkgs/8406224e30c258025cb8b31704bdb977a8f1f009?narHash=sha256-%2B8goyptSXa7qV0k5uPKyky58jpBjI/qkzsbwCZFvhRY%3D' (2025-05-18)
  → 'github:NixOS/nixpkgs/2f9173bde1d3fbf1ad26ff6d52f952f9e9da52ea?narHash=sha256-NnXFQu7g4LnvPIPfJmBuZF7LFy/fey2g2%2BLCzjQhTUk%3D' (2025-05-20)
• Updated input 'home-manager':
    'github:nix-community/home-manager/45c2985644b60ab64de2a2d93a4d132ecb87cf66?narHash=sha256-FZq4/3OtGV/cti9Vccsy2tGSUrxTO4hkDF9oeGRTen4%3D' (2025-05-19)
  → 'github:nix-community/home-manager/2468b2d35512d093aeb04972a1d8c20a0735793f?narHash=sha256-2qAOSixSrbb9l6MI%2BSI4zGineOzDcc2dgOOFK9Dx%2BIY%3D' (2025-05-21)
• Updated input 'nix-darwin':
    'github:lnl7/nix-darwin/b9b927dd1f24094b271e8ec5277a672dc4fc860d?narHash=sha256-GMAJcB8oB9cC%2BTbYTE7QDfw9fwHZyloxUWnUpHnQRko%3D' (2025-05-17)
  → 'github:lnl7/nix-darwin/e2676937faf868111dcea6a4a9cf4b6549907c9d?narHash=sha256-oY/mH8K1LOd%2BYbO58sw9ORtOdTxy3rR9lvTzOJKVUtA%3D' (2025-05-21)
2025-05-22 21:42:03 +10:00
github-actions[bot]
3713ef9e61 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/8406224e30c258025cb8b31704bdb977a8f1f009?narHash=sha256-%2B8goyptSXa7qV0k5uPKyky58jpBjI/qkzsbwCZFvhRY%3D' (2025-05-18)
  → 'github:NixOS/nixpkgs/2f9173bde1d3fbf1ad26ff6d52f952f9e9da52ea?narHash=sha256-NnXFQu7g4LnvPIPfJmBuZF7LFy/fey2g2%2BLCzjQhTUk%3D' (2025-05-20)
2025-05-22 21:42:03 +10:00
Martijn Boers
7e3a0f4e97 plugins/neo-tree: correct contentLayout allowed options
According to the docs, focus is not an accepted value for this field,
it's also a pretty common wish to have tabs layout centered.
2025-05-21 17:45:51 +01:00
Matt Sturgeon
4936f85de3
docs/mdbook: fix user-guide/helpers.html redirect 2025-05-21 14:10:56 +01:00
github-actions[bot]
47dba84e0d flake/dev/flake.lock: Update
Flake lock file updates:

• Updated input 'dev-nixpkgs':
    'github:NixOS/nixpkgs/3fcbdcfc707e0aa42c541b7743e05820472bdaec?narHash=sha256-JBXbjJ0t6T6BbVc9iPVquQI9XSXCGQJD8c8SgnUquus%3D' (2025-05-17)
  → 'github:NixOS/nixpkgs/8406224e30c258025cb8b31704bdb977a8f1f009?narHash=sha256-%2B8goyptSXa7qV0k5uPKyky58jpBjI/qkzsbwCZFvhRY%3D' (2025-05-18)
• Updated input 'home-manager':
    'github:nix-community/home-manager/97118a310eb8e13bc1b9b12d67267e55b7bee6c8?narHash=sha256-B6jmKHUEX1jxxcdoYHl7RVaeohtAVup8o3nuVkzkloA%3D' (2025-05-18)
  → 'github:nix-community/home-manager/45c2985644b60ab64de2a2d93a4d132ecb87cf66?narHash=sha256-FZq4/3OtGV/cti9Vccsy2tGSUrxTO4hkDF9oeGRTen4%3D' (2025-05-19)
2025-05-20 12:16:41 +00:00
github-actions[bot]
d4dff3f6b8 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/3fcbdcfc707e0aa42c541b7743e05820472bdaec?narHash=sha256-JBXbjJ0t6T6BbVc9iPVquQI9XSXCGQJD8c8SgnUquus%3D' (2025-05-17)
  → 'github:NixOS/nixpkgs/8406224e30c258025cb8b31704bdb977a8f1f009?narHash=sha256-%2B8goyptSXa7qV0k5uPKyky58jpBjI/qkzsbwCZFvhRY%3D' (2025-05-18)
2025-05-20 12:16:37 +00:00
Matt Sturgeon
14c7f5f896
dev/tests: add --attr option to print full attrpath of tests
Allows using the `tests` devshell command to discover the full attrpath
of a test.

e.g.

```
$ tests --attr modules-lsp plugins-by-name-lazygit
Printing 2 tests: modules-lsp plugins-by-name-lazygit

Full attr paths:
- checks.x86_64-linux.test-2.entries.modules-lsp
- checks.x86_64-linux.test-18.entries.plugins-by-name-lazygit
```
2025-05-19 20:40:10 +01:00
Matt Sturgeon
f4a7447d27
lib/util: move docs from lib/index to doc-comments
Moved all function-specific docs from `docs/lib/index.md` into RFC145
doc-comments.

Added `lib.nixvim.lua.toLuaObject` to hold the public docs and serve as
a stable impl of `toLua'` in case we decide to change its defaults.
2025-05-19 00:23:21 +01:00
Matt Sturgeon
4a272ca5d7
docs/lib: enable lib.nixvim.lua docs 2025-05-19 00:23:20 +01:00
Matt Sturgeon
bda4be03fc
docs/lib: enable lib.nixvim.utils docs 2025-05-19 00:23:20 +01:00
Matt Sturgeon
5cf8cb5ee6
lib/utils: split into public and internal files
We will include the public file in the docs.
2025-05-19 00:23:20 +01:00