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

3848 commits

Author SHA1 Message Date
Matt Sturgeon
e868bd6aa1
modules/lsp/hls: port ghcPackage option from plugins.lsp 2025-10-09 20:38:06 +01:00
Matt Sturgeon
cf6c8ef1fa modules/lsp: be explicit about shorthandOnlyDefinesConfig
`shorthandOnlyDefinesConfig` is true by default for `lib.types.submodule`,
and false by default for `lib.types.submoduleWith` and `lib.evalModules`.

Since we rely on it for our `lsp.servers.*.config` option, let's enable
it explicitly.
2025-10-09 15:31:01 +00:00
Matt Sturgeon
9f336d2d71 modules/lsp: rename server settingsconfig
See RFC: https://github.com/nix-community/nixvim/issues/3745

This effectively reverts 21688b1d2a
2025-10-09 15:31:01 +00:00
Gaetan Lepage
57006a3ace plugins/blame-nvim: rename to blame 2025-10-08 12:41:29 +00:00
Axel Karjalainen
c074710027 plugins/blame-nvim: init 2025-10-07 23:10:36 +00:00
nixvim-ci[bot]
9a4a68a80d maintainers: update generated/all-maintainers.nix
Automated update of the master maintainers list combining:
- Nixvim specific maintainers from lib/maintainers.nix
- Nixpkgs maintainers referenced in Nixvim modules

Changes: +7 -0 lines

Generated by: flake/dev/generate-all-maintainers/generate-all-maintainers.py
2025-10-07 22:18:47 +00:00
Fovir
a46778cf75 plugins/leetcode: init 2025-10-07 21:59:51 +00:00
Fovir
9e56d5cc59 maintainers: add Fovir 2025-10-07 21:59:51 +00:00
Matt Sturgeon
20a7c92306 modules/lsp: handle missing package in server option desc
The `lsp.servers.<name>` option description links to the server's
homepage if it can evaluate the default package's `meta.homepage`.

However, users may evaluate this description, e.g. when building NixOS
docs with `documentation.nixos.includeAllModules`. Further, users may
have a different nixpkgs revisions to ours. Therefore, we need to allow
for the package not being in nixpkgs.

Since `mkPackageOption` will throw in the default, we can catch it with
`tryEval`.
2025-10-07 21:41:36 +00:00
Gaetan Lepage
9023e15e60 plugins/kiwi: init
Closes #3615
2025-10-07 21:12:23 +00:00
nixvim-ci[bot]
b9d0415b1c flake/dev/flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/6f4021da5d2bb5ea7cb782ff413ecb7062066820?narHash=sha256-B39NxeKCnK3DJlmJKIts6njcXcVVASLUChDNmRl4dxQ%3D' (2025-10-06)
  → 'github:nix-community/home-manager/929535c3082afdf0b18afec5ea1ef14d7689ff1c?narHash=sha256-6ZG7VZZsbg39gtziGSvCJKurhIahIuiCn%2BW6TGB5kOU%3D' (2025-10-06)
2025-10-07 12:56:22 +00:00
Austin Horstman
9bdedc0510 plugins/ollama: migrate to mkNeovimPlugin 2025-10-06 23:17:22 +00:00
Austin Horstman
a68291151c plugins/presence: rename module 2025-10-06 21:22:59 +00:00
Austin Horstman
f56b6d184b plugins/presence-nvim: migrate to mkNeovimPlugin 2025-10-06 21:22:59 +00:00
Austin Horstman
98c0bd99a1 plugins/rust-tools: remove module 2025-10-06 21:21:49 +00:00
saygo-png
b633c99196 plugins/ts-context-commentstring: migrate to mkNeovimPlugin
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-10-06 19:08:51 +00:00
Austin Horstman
ca7f98d936 plugins/rzls: init module 2025-10-06 16:38:18 +00:00
Austin Horstman
af69a39a5f dependencies: add rzls 2025-10-06 16:38:18 +00:00
Gaetan Lepage
4024aa47f0 tests/all-package-defaults: recursively collect package options into submodules
Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
2025-10-06 12:43:55 +00:00
nixvim-ci[bot]
983e45ff2f flake/dev/flake.lock: Update
Flake lock file updates:

• Updated input 'dev-nixpkgs':
    'github:NixOS/nixpkgs/0832d1b3a08fe4c695507a075d547ebfa818dfa0?narHash=sha256-ad0XLmCm17Ffg9GafSjuaGat01iTJmDk2IrX9%2B5jdzo%3D' (2025-10-04)
  → 'github:NixOS/nixpkgs/d7f52a7a640bc54c7bb414cca603835bf8dd4b10?narHash=sha256-krgZxGAIIIKFJS%2BUB0l8do3sYUDWJc75M72tepmVMzE%3D' (2025-10-05)
• Updated input 'home-manager':
    'github:nix-community/home-manager/5f06ceafc6c9b773a776b9195c3f47bbe1defa43?narHash=sha256-ILSPD0Dm8p0w0fCVzOx98ZH8yFDrR75GmwmH3fS2VnE%3D' (2025-10-04)
  → 'github:nix-community/home-manager/6f4021da5d2bb5ea7cb782ff413ecb7062066820?narHash=sha256-B39NxeKCnK3DJlmJKIts6njcXcVVASLUChDNmRl4dxQ%3D' (2025-10-06)
2025-10-06 12:28:12 +00:00
nixvim-ci[bot]
20fa48605c flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/0832d1b3a08fe4c695507a075d547ebfa818dfa0?narHash=sha256-ad0XLmCm17Ffg9GafSjuaGat01iTJmDk2IrX9%2B5jdzo%3D' (2025-10-04)
  → 'github:NixOS/nixpkgs/d7f52a7a640bc54c7bb414cca603835bf8dd4b10?narHash=sha256-krgZxGAIIIKFJS%2BUB0l8do3sYUDWJc75M72tepmVMzE%3D' (2025-10-05)
2025-10-06 12:28:12 +00:00
nixvim-ci[bot]
4b28381e4a maintainers: update generated/all-maintainers.nix
Automated update of the master maintainers list combining:
- Nixvim specific maintainers from lib/maintainers.nix
- Nixpkgs maintainers referenced in Nixvim modules

Changes: +15 -1 lines

Generated by: flake/dev/generate-all-maintainers/generate-all-maintainers.py
2025-10-06 11:24:59 +00:00
Gaetan Lepage
e45e9214dc tests/plugins/pluginmanagers: use nvim-tree instead of neo-tree
neo-tree tries to write in a logfile which is quite annoying
2025-10-05 13:29:19 +00:00
Gaetan Lepage
e5c6d9337a tests/plugins/neo-tree: set logToFile to false to fix broken tests 2025-10-05 13:29:19 +00:00
Gaetan Lepage
cd63e6c918 plugins/lsp/lsp-packages: pkgs.atopile now exists 2025-10-05 13:29:19 +00:00
nixvim-ci[bot]
8e2bbc6b0b generated: Update
- Updated conform-formatters.json
- Updated lspconfig-servers.json
2025-10-05 13:29:19 +00:00
nixvim-ci[bot]
3b5960c0d6 flake/dev/flake.lock: Update
Flake lock file updates:

• Updated input 'dev-nixpkgs':
    'github:NixOS/nixpkgs/dc704e6102e76aad573f63b74c742cd96f8f1e6c?narHash=sha256-O7eHcgkQXJNygY6AypkF9tFhsoDQjpNEojw3eFs73Ow%3D' (2025-10-02)
  → 'github:NixOS/nixpkgs/0832d1b3a08fe4c695507a075d547ebfa818dfa0?narHash=sha256-ad0XLmCm17Ffg9GafSjuaGat01iTJmDk2IrX9%2B5jdzo%3D' (2025-10-04)
2025-10-05 13:29:19 +00:00
nixvim-ci[bot]
740eee8575 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/dc704e6102e76aad573f63b74c742cd96f8f1e6c?narHash=sha256-O7eHcgkQXJNygY6AypkF9tFhsoDQjpNEojw3eFs73Ow%3D' (2025-10-02)
  → 'github:NixOS/nixpkgs/0832d1b3a08fe4c695507a075d547ebfa818dfa0?narHash=sha256-ad0XLmCm17Ffg9GafSjuaGat01iTJmDk2IrX9%2B5jdzo%3D' (2025-10-04)
2025-10-05 13:29:19 +00:00
Austin Horstman
bedd7fc3c9 plugins/roslyn: init module
https://github.com/seblyng/roslyn.nvim
2025-10-05 10:29:09 +00:00
Austin Horstman
6b3bea319b dependencies: add roslyn_ls 2025-10-05 10:29:09 +00:00
Austin Horstman
2f8fbcdfd0 plugins/multicursors: migrate to mkNeovimPlugin 2025-10-04 22:52:59 +00:00
Austin Horstman
ce149cac11 plugins/illuminate: migrate to mkNeovimPlugin 2025-10-04 22:25:11 +00:00
Austin Horstman
35b7251d83 plugins/leap: migrate to mkNeovimPlugin 2025-10-04 22:18:50 +00:00
Austin Horstman
a33eee710f plugins/mkdnflow: migrate to mkNeovimPlugin 2025-10-04 22:11:43 +00:00
Jeremy Fleischman
8fcf8a9ef1 plugins/lsp/vue_ls: add a tslsIntegration option
This new `plugins.lsp.servers.vue_ls.tslsIntegration` is a shameless
copy of of pre-existing `plugins.lsp.servers.volar.tslsIntegration`
option.

Full disclosure: I have not tested this as I use the newer `lsp` module.

I'm not sure if this fixes
https://github.com/nix-community/nixvim/issues/3600, but it's a least
part of it.
2025-10-04 18:11:20 +00:00
nixvim-ci[bot]
3fa0e48726 flake/dev/flake.lock: Update
Flake lock file updates:

• Updated input 'git-hooks':
    'github:cachix/git-hooks.nix/54df955a695a84cd47d4a43e08e1feaf90b1fd9b?narHash=sha256-ytw7ROXaWZ7OfwHrQ9xvjpUWeGVm86pwnEd1QhzawIo%3D' (2025-09-17)
  → 'github:cachix/git-hooks.nix/cfc9f7bb163ad8542029d303e599c0f7eee09835?narHash=sha256-PTod9NG%2Bi3XbbnBKMl/e5uHDBYpwIWivQ3gOWSEuIEM%3D' (2025-10-03)
• Updated input 'home-manager':
    'github:nix-community/home-manager/004753ae6b04c4b18aa07192c1106800aaacf6c3?narHash=sha256-CcT3QvZ74NGfM%2BlSOILcCEeU%2BSnqXRvl1XCRHenZ0Us%3D' (2025-10-01)
  → 'github:nix-community/home-manager/5f06ceafc6c9b773a776b9195c3f47bbe1defa43?narHash=sha256-ILSPD0Dm8p0w0fCVzOx98ZH8yFDrR75GmwmH3fS2VnE%3D' (2025-10-04)
2025-10-04 14:16:45 +00:00
Culottes
71708a77de plugins/lsp: remove erlang-ls 2025-10-04 08:16:23 +00:00
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