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

4003 commits

Author SHA1 Message Date
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
Matt Sturgeon
2f952af4a7 docs/lib: rename 'name' → 'category' 2025-09-30 16:21:23 +00:00
Matt Sturgeon
c146f6e09c docs/lib: simplify default title-heading 2025-09-30 16:21:23 +00:00
Matt Sturgeon
4414d8aa14 docs/modules: init
Modules to represent pages in the docs
2025-09-30 16:21:23 +00:00
Gaetan Lepage
9faa339d9e modules/lsp: use a for loop to create LSP keymaps 2025-09-30 07:30:40 +00:00
Matt Sturgeon
1c802b3efe plugins/lsp: simplify extraSettings deprecation 2025-09-28 23:24:22 +00:00
Matt Sturgeon
167ea865e5 modules/lsp: port packageFallback option from plugins.lsp
Added to `plugins.lsp` in 6a054de04d
2025-09-28 23:07:35 +00:00
saygo-png
4cec67651a lib/plugins: infer packPathName
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-09-27 23:49:59 +00:00
saygo-png
c4b27080a6 treewide: infer packPathName menial work
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-09-27 23:49:59 +00:00