1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-08 19:46:06 +01:00
Commit graph

3811 commits

Author SHA1 Message Date
saygo-png
61f1475f7f plugins/rainbow-delimiters: migrate to mkNeovimPlugin
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-10-04 06:29:38 +00:00
Austin Horstman
aa47ed384a plugins/copilot-lsp: add module 2025-10-04 04:37:20 +00:00
Austin Horstman
e87e4b1812 plugins/sidekick: init module
https://github.com/folke/sidekick.nvim
2025-10-04 04:03:15 +00:00
Austin Horstman
138a387afb dependencies: add copilot 2025-10-04 04:03:15 +00:00
Matt Sturgeon
42d87fd4d8 tests/all-package-defaults: disable atopile
Transient dependency `kicad-base` is marked broken:
https://github.com/NixOS/nixpkgs/pull/403987
2025-10-03 21:42:32 +00:00
Matt Sturgeon
1a845c801e tests/{lsp-servers,all-package-defaults}: disable roslyn_ls
Transient dependency `vmr` has a build failure:
https://github.com/NixOS/nixpkgs/issues/431811
2025-10-03 21:42:32 +00:00
Matt Sturgeon
f63304449c plugins/lsp/lsp-packages: add defaults for new LSPs
26 new LSPs were added when we updated the update script in
b9c5a75cc6

Add a package association for all the new LSPs I was able to find a
package for.
2025-10-03 21:42:32 +00:00
Matt Sturgeon
b9c5a75cc6 ci/nvim-lspconfig: migrate to the new API
This is nearly a full rewrite of the lspconfig-servers update-script,
migrating it to the new `lsp/` directory system and simplifying where
possible.

- plugins/lsp: adapt to new file format
- flake/locate-lsp-packages: update for new lspconfig file format
- generated: Updated lspconfig-servers.json
2025-10-03 20:29:49 +00:00
Matt Sturgeon
308e5b3843 tests/generated: add a separate error for unsupported entries
Only used for LSP packages, where we have a separate list of unsupported
LSP servers in generated/unsupported-lspconfig-servers.json
2025-10-03 20:29:49 +00:00
Gaetan Lepage
5c6ee4186f ci/nvim-lspconfig: do not extract servers' cmd (unused) 2025-10-03 19:45:10 +00:00
Gaetan Lepage
74536f7432 flake/dev/devshell: drop (effectively unused) locate-lsp-packages 2025-10-03 19:45:10 +00:00
Matt Sturgeon
96c9775a5f plugins/lsp/volar: handle null package with ts_ls integration
The ts_ls integration needs to call `getBin cfg.package`, so the package
cannot be null.

Adds an assertion.
2025-10-03 19:34:03 +00:00
Matt Sturgeon
4c99ccfe1e tests/lsp-servers: disable building unfree default packages
Currently none of the server packages we build are unfree, however if
any unfree defaults are added then this test will fail.

The two solutions are:
1. Filter out unfree packages
   - Either set `enable = false` or `package = null`
2. Allow building unfree packages
   - By setting `nixpkgs.config.allowUnfree = true`

For now, I've gone with option 1.
2025-10-03 18:53:55 +00:00
nixvim-ci[bot]
1e7550e6a1 flake/dev/flake.lock: Update
Flake lock file updates:

• Updated input 'dev-nixpkgs':
    'github:NixOS/nixpkgs/625ad6366178f03acd79f9e3822606dd7985b657?narHash=sha256-wg1Lz/1FC5Q13R%2BmM5a2oTV9TA9L/CHHTm3/PiLayfA%3D' (2025-10-02)
  → 'github:NixOS/nixpkgs/dc704e6102e76aad573f63b74c742cd96f8f1e6c?narHash=sha256-O7eHcgkQXJNygY6AypkF9tFhsoDQjpNEojw3eFs73Ow%3D' (2025-10-02)
2025-10-03 16:24:39 +00:00
nixvim-ci[bot]
b2a8e45680 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/625ad6366178f03acd79f9e3822606dd7985b657?narHash=sha256-wg1Lz/1FC5Q13R%2BmM5a2oTV9TA9L/CHHTm3/PiLayfA%3D' (2025-10-02)
  → 'github:NixOS/nixpkgs/dc704e6102e76aad573f63b74c742cd96f8f1e6c?narHash=sha256-O7eHcgkQXJNygY6AypkF9tFhsoDQjpNEojw3eFs73Ow%3D' (2025-10-02)
2025-10-03 16:24:39 +00:00
Gaetan Lepage
8bcb4c4a8c plugins/neogen: migrate to mkNeovimPlugin
Tracking: https://github.com/nix-community/nixvim/issues/2638
2025-10-03 16:19:32 +00:00
Gaetan Lepage
eb54f65d9b plugins/ethersync: init 2025-10-02 22:49:56 +00:00
Gaetan Lepage
18b8d53e23 plugins/telescope/extensions/fzf-native: remove old renamed warnings 2025-10-02 22:31:12 +00:00
Austin Horstman
a19a016458 plugins/copilot-lua: add copilot-lsp
Enables next edit suggestion support. Enabling configuration without
plugin will throw an error. Also, will allow sidekick to use copilot-lsp
for it's own support.
2025-10-02 21:25:35 +00:00
Gaetan Lepage
dca0aa2def tests/all-package-defaults: disable superhtml on x86_64-darwin 2025-10-02 20:03:46 +00:00
nixvim-ci[bot]
5874f35f71 flake/dev/flake.lock: Update
Flake lock file updates:

• Updated input 'dev-nixpkgs':
    'github:NixOS/nixpkgs/647e5c14cbd5067f44ac86b74f014962df460840?narHash=sha256-JVZl8NaVRYb0%2B381nl7LvPE%2BA774/dRpif01FKLrYFQ%3D' (2025-09-28)
  → 'github:NixOS/nixpkgs/625ad6366178f03acd79f9e3822606dd7985b657?narHash=sha256-wg1Lz/1FC5Q13R%2BmM5a2oTV9TA9L/CHHTm3/PiLayfA%3D' (2025-10-02)
• Updated input 'home-manager':
    'github:nix-community/home-manager/5890176f856dcaf55f3ab56b25d4138657531cbd?narHash=sha256-LVpodobJvJM5rmfh2sFBHPNX0PYpNbbHzx/gprlKGGg%3D' (2025-10-01)
  → 'github:nix-community/home-manager/004753ae6b04c4b18aa07192c1106800aaacf6c3?narHash=sha256-CcT3QvZ74NGfM%2BlSOILcCEeU%2BSnqXRvl1XCRHenZ0Us%3D' (2025-10-01)
2025-10-02 20:03:46 +00:00
nixvim-ci[bot]
4f922f607a flake.lock: Update
Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/4524271976b625a4a605beefd893f270620fd751?narHash=sha256-%2BuWLQZccFHwqpGqr2Yt5VsW/PbeJVTn9Dk6SHWhNRPw%3D' (2025-09-01)
  → 'github:hercules-ci/flake-parts/758cf7296bee11f1706a574c77d072b8a7baa881?narHash=sha256-wfG0S7pltlYyZTM%2BqqlhJ7GMw2fTF4mLKCIVhLii/4M%3D' (2025-10-01)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/647e5c14cbd5067f44ac86b74f014962df460840?narHash=sha256-JVZl8NaVRYb0%2B381nl7LvPE%2BA774/dRpif01FKLrYFQ%3D' (2025-09-28)
  → 'github:NixOS/nixpkgs/625ad6366178f03acd79f9e3822606dd7985b657?narHash=sha256-wg1Lz/1FC5Q13R%2BmM5a2oTV9TA9L/CHHTm3/PiLayfA%3D' (2025-10-02)
2025-10-02 20:03:46 +00:00
Matt Sturgeon
5c4a10093d plugins.lsp: automatically remove unsupported servers
A new update script will check which "old" files do not have an
equivalent "new" file, then the plugins.lsp module will create a
removal assertion for any servers that are listed in the generated
file.
2025-10-02 00:04:30 +00:00
Matt Sturgeon
fc779c6e82 plugins/project-nvim: place config before telescope
https://github.com/DrKJeff16/project.nvim/issues/22
2025-10-01 23:54:08 +00:00
Gaetan Lepage
ba7e691a31 tests/plugins/lean: disable runNvim when LSP is enabed (using deprecated lspconfig API) 2025-10-01 23:54:08 +00:00
Gaetan Lepage
3607c2dbd2 tests/plugins/neogit: update defaults 2025-10-01 23:54:08 +00:00
Gaetan Lepage
c162a49c38 tests/plugins/package-info: update defaults 2025-10-01 23:54:08 +00:00
Gaetan Lepage
523444bf99 tests: disable test relying on the idris2 plugin (using deprecated lspconfig API) 2025-10-01 23:54:08 +00:00
Gaetan Lepage
cf808765c5 tests/all-package-defaults: disable open-policy-agent on darwin 2025-10-01 23:54:08 +00:00
nixvim-ci[bot]
d363851efc flake/dev/flake.lock: Update
Flake lock file updates:

• Updated input 'dev-nixpkgs':
    'github:NixOS/nixpkgs/e57b3b16ad8758fd681511a078f35c416a8cc939?narHash=sha256-puBMviZhYlqOdUUgEmMVJpXqC/ToEqSvkyZ30qQ09xM%3D' (2025-09-25)
  → 'github:NixOS/nixpkgs/647e5c14cbd5067f44ac86b74f014962df460840?narHash=sha256-JVZl8NaVRYb0%2B381nl7LvPE%2BA774/dRpif01FKLrYFQ%3D' (2025-09-28)
• Updated input 'home-manager':
    'github:nix-community/home-manager/173a29f735c69950cfeaac310d7e567115976be0?narHash=sha256-ueGMsCYo6S6WiszKPpXoRCdMDVmsCwfA09L7blUEPlY%3D' (2025-09-26)
  → 'github:nix-community/home-manager/5890176f856dcaf55f3ab56b25d4138657531cbd?narHash=sha256-LVpodobJvJM5rmfh2sFBHPNX0PYpNbbHzx/gprlKGGg%3D' (2025-10-01)
2025-10-01 23:54:08 +00:00
nixvim-ci[bot]
05dca88231 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/e57b3b16ad8758fd681511a078f35c416a8cc939?narHash=sha256-puBMviZhYlqOdUUgEmMVJpXqC/ToEqSvkyZ30qQ09xM%3D' (2025-09-25)
  → 'github:NixOS/nixpkgs/647e5c14cbd5067f44ac86b74f014962df460840?narHash=sha256-JVZl8NaVRYb0%2B381nl7LvPE%2BA774/dRpif01FKLrYFQ%3D' (2025-09-28)
2025-10-01 23:54:08 +00:00
Guilhem Saurel
16302b08f0 plugins/kitty-scrollback: add settingsExample
Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
2025-10-01 21:14:05 +00:00
Guilhem Saurel
4ecc08df48 plugins/kitty-scrollback: init 2025-10-01 21:14:05 +00:00
Matt Sturgeon
fe059cd395 flake: add nixf-diagnose to treefmt config
Checks nixd's diagnostic lints using libnixf.
2025-10-01 00:42:40 +00:00
saygo-png
74423f4a53 plugins/haskell-tools: init
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-10-01 00:42:28 +00:00
saygo-png
b9e5bac7bc docs: improve consistency
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-10-01 00:37:38 +00:00
Austin Horstman
583d5d8982 plugins/opencode: add opencode dependency 2025-10-01 00:18:41 +00:00
Austin Horstman
7038675452 modules/dependencies: add gemini and opencode 2025-10-01 00:18:41 +00:00
Manuel Transfeld
b58be69867 plugins/nvim-notify: add more render styles
one was still missing
2025-10-01 00:17:09 +00:00
saygo-png
0a721c85dc plugins/marks: migrate to mkNeovimPlugin
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-09-30 23:51:22 +00:00
Gaetan Lepage
283775355b plugins/neogit: remove (most) explicit option declarations from settingsOptions
We need to keep the options that actively transform user inputs :/
2025-09-30 22:46:13 +00:00
Gaetan Lepage
c6b45bb66e plugins/neogit: remove deprecation warnings 2025-09-30 22:46:13 +00:00
Gaetan Lepage
1f003e44d5 plugins/neogit: remove 'with lib;' 2025-09-30 22:46:13 +00:00
Gaetan Lepage
f0cd7d4fb3 plugins/package-info: remove explicit option declarations from settingsOptions 2025-09-30 22:21:51 +00:00
Matt Sturgeon
94331cc50d plugins/lsp: use the new lsp module under the hood
- Re-implement setup wrapping and capabilities to preserve existing
  behaviour
- Alias `package` options to new lsp module
- Alias `packageFallback` options to new lsp module
- Alias `preConfig` and `postConfig` to `lsp.luaConfig`
2025-09-30 20:16:00 +00:00
Matt Sturgeon
cb3653a1a8 modules/lsp: select relevant fields in keymaps table
We only use `mode`, `key`, `action`, and `options`; so explicitly
inherit those.

This means we don't serialise attrs that aren't needed at runtime,
such as `lspBufAction`.
2025-09-30 17:01:17 +00:00
Matt Sturgeon
f421af99fe modules/lsp: print keymaps table multiline
Makes `init.lua` easier to read.

Follow up to 9faa339d9e
2025-09-30 17:01:17 +00:00
Matt Sturgeon
4f858eb004 tests/modules/lsp: test lsp keymaps
Assert that the expected code is added to an autoCmd.
2025-09-30 17:01:17 +00:00
Matt Sturgeon
d3e7315bf7 modules/test: add extraInputs option
Allows adding additional derivations to the build closure, useful for
including `pkgs.testers` or other derivations as part of a module test.
2025-09-30 17:01:17 +00:00
Matt Sturgeon
4f03ca05d9 docs/lib: generalise menu impl using module system
Move the mdbook menu rendering code into the module system and
generalise it to apply to multiple "categories" (mdbook parts) and
"types" of category (prefix, suffix, etc).
2025-09-30 16:21:23 +00:00