Commit graph

3387 commits

Author SHA1 Message Date
nixvim-ci[bot]
ab0264c3a8 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/fe51d34885f7b5e3e7b59572796e1bcb427eccb1?narHash=sha256-qmmFCrfBwSHoWw7cVK4Aj%2Bfns%2Bc54EBP8cGqp/yK410%3D' (2025-05-22)
  → 'github:NixOS/nixpkgs/bdac72d387dca7f836f6ef1fe547755fb0e9df61?narHash=sha256-UQubDNIQ/Z42R8tPCIpY%2BBOhlxO8t8ZojwC9o2FW3c8%3D' (2025-05-25)
2025-05-26 12:16:04 +00:00
Alex Hamilton
b37d429468 flake/wrappers: Deprecate homeManagerModules output 2025-05-25 14:18:50 -04:00
Alex Hamilton
e4a27ae810 flake/wrappers: Make homeModules the canonical name 2025-05-25 12:43:10 -04:00
Alex Hamilton
c10f60d007 Migrate homeManagerModules uses to homeModules 2025-05-25 12:41:12 -04:00
Alex Hamilton
c1a14f8f5c flake/wrappers: Add homeModules flake output 2025-05-25 12:41:12 -04:00
Andrey Petrov
1c5c991fda
modules/lsp/servers: Fix lua_ls example
Example was referring to `luals` instead of `lua_ls`
2025-05-25 11:29:19 -04:00
nixvim-ci[bot]
f54941e333 flake/dev/flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/7419250703fd5eb50e99bdfb07a86671939103ea?narHash=sha256-pQQnbxWpY3IiZqgelXHIe/OAE/Yv4NSQq7fch7M6nXQ%3D' (2025-05-23)
  → 'github:nix-community/home-manager/c1e671036224089937e111e32ea899f59181c383?narHash=sha256-5PBK1nV8X39K3qUj8B477Aa2RdbLq3m7wRxUKRtggX4%3D' (2025-05-25)
• Updated input 'nix-darwin':
    'github:lnl7/nix-darwin/acd6aa5a9065c6695212be313e06f08f7184cb25?narHash=sha256-dFqlLNW6UW19m0vg5FHWLH2G2LGkqYyPs/4YqfoZMoM%3D' (2025-05-24)
  → 'github:lnl7/nix-darwin/a9939228f661df370c4094fe85f683e45d761dbe?narHash=sha256-mmonYFesFo42UUS49Hd0bcbVJRWX/aHBCDYUkkvylf4%3D' (2025-05-25)
2025-05-25 12:14:38 +00:00
nixvim-ci[bot]
2c0a9ff1e2 flake/dev/flake.lock: Update
Flake lock file updates:

• Updated input 'dev-nixpkgs':
    'github:NixOS/nixpkgs/e314d5c6d3b3a0f40ec5bcbc007b0cbe412f48ae?narHash=sha256-IlAuXnIi%2BZmyS89tt1YOFDCv7FKs9bNBHd3MXMp8PxE%3D' (2025-05-22)
  → 'github:NixOS/nixpkgs/fe51d34885f7b5e3e7b59572796e1bcb427eccb1?narHash=sha256-qmmFCrfBwSHoWw7cVK4Aj%2Bfns%2Bc54EBP8cGqp/yK410%3D' (2025-05-22)
• Updated input 'nix-darwin':
    'github:lnl7/nix-darwin/93562b65cf68612a544779c9f77536f9dff01096?narHash=sha256-i73u8NLiqewGy0iIriH4XizatLnAojXxzrBqHJEz49E%3D' (2025-05-23)
  → 'github:lnl7/nix-darwin/acd6aa5a9065c6695212be313e06f08f7184cb25?narHash=sha256-dFqlLNW6UW19m0vg5FHWLH2G2LGkqYyPs/4YqfoZMoM%3D' (2025-05-24)
2025-05-24 12:14:25 +00:00
nixvim-ci[bot]
5a07d9e5fd flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/e314d5c6d3b3a0f40ec5bcbc007b0cbe412f48ae?narHash=sha256-IlAuXnIi%2BZmyS89tt1YOFDCv7FKs9bNBHd3MXMp8PxE%3D' (2025-05-22)
  → 'github:NixOS/nixpkgs/fe51d34885f7b5e3e7b59572796e1bcb427eccb1?narHash=sha256-qmmFCrfBwSHoWw7cVK4Aj%2Bfns%2Bc54EBP8cGqp/yK410%3D' (2025-05-22)
2025-05-24 12:14:18 +00:00
Gaetan Lepage
764a9b8dda treewide: replace mentions of 24.11 with 25.05 2025-05-24 18:35:23 +10:00
Gaetan Lepage
f80d8d5907 ci/docs: build documentation for the nixos-25.05 branch 2025-05-24 18:35:23 +10: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
Matt Sturgeon
2ee5d71d52
doc/lib/index.md: update heading title
Move heading to `pages.nix` page title.
2025-05-19 00:22:43 +01:00
Matt Sturgeon
0f8dc108de
docs/man: move FAQ and examples before functions
Like options, function docs are large. Let's put them after the FAQ and
config-examples sections
2025-05-19 00:20:29 +01:00
Matt Sturgeon
83d3535097
docs/man: include all sections from lib-doc 2025-05-19 00:20:29 +01:00
Matt Sturgeon
0c7e2aa96b
docs: user-guide/helpers.mdlib/index.md
Move the user-guide to the new lib reference docs.

Added a MDBook redirect entry.

Updated man docs.
2025-05-19 00:19:57 +01:00
Matt Sturgeon
1c6dd6579a
docs: include function docs
Embed the function reference docs into the main docs website.
2025-05-19 00:19:57 +01:00
Matt Sturgeon
dfaea5982e
docs/lib: init
Generate reference docs for functions that have RFC145 style
doc-comments.

1. function locations

  `docs/lib/function-locations.nix` scans nixvim's extended lib,
  extracting "position entries" via `unsafeGetAttrPos`.

  This is then converted into a nixdoc `locations.json` map of
  "function name" → "markdown location string".

2. mdbook menu

  `docs/lib/menu.nix` renders a mdbook menu representing all page
  entries.

3. markdown pages

  `docs/lib/default.nix` expects a set of "page entries", which come
  from `docs/lib/pages.nix` by default. It passes this data to
  `function-locations.nix` and `menu.nix`, and uses it internally to
  render markdown pages.

  Page entries can contain a `file` to render using `nixdoc`, and also a
  `markdown` attribute which will be included at the top of the docs.

  Additionally, a `title` can be included. This forms the heading
  `$name: $title`, where `name` is derived from the page's attr-path.

  See https://github.com/nix-community/nixdoc
2025-05-19 00:19:56 +01:00