Commit graph

1483 commits

Author SHA1 Message Date
Matt Sturgeon
4ef28e447b Revert "tests: disable vectorcode"
This reverts commit 1b06626c17.
2026-07-12 15:18:12 +00:00
Matt Sturgeon
1aee8fbd1f tests: disable cpplint 2026-07-12 13:18:22 +00:00
Matt Sturgeon
7204212dd0 tests: disable swiftformat 2026-07-12 13:18:22 +00:00
Matt Sturgeon
1b06626c17 tests: disable vectorcode
Dependency python3.14-frictionless-5.18.1 fails to build.
2026-07-12 13:18:22 +00:00
Matt Sturgeon
787af2e44d tests: disable slither-analyzer
Transitive issue:
    py-evm-0.12.1-beta.1 not supported for interpreter python3.14
2026-07-12 13:18:22 +00:00
Gaetan Lepage
23ad03985a tests: skip packages which depend on insecure pnpm-9.15.9 2026-07-02 16:10:29 +00:00
Matt Sturgeon
af139aaae9 tests/plugins/obsidian: migrate legacy commands
https://github.com/obsidian-nvim/obsidian.nvim/wiki/Commands
2026-06-15 19:17:02 +00:00
Matt Sturgeon
0065d0b5e6 plugins/obsidian: deprecate completion.{blink,nvim-cmp} settings
Mirror upstream's deprecation.
2026-06-15 19:17:02 +00:00
Matt Sturgeon
047bffb020 plugins/coq-nvim: remove settings.auto_start option
It's removed & deprecated in upstream's v2 plugin.
2026-06-15 19:17:02 +00:00
Matt Sturgeon
6542cdf36e plugins/coq-nvim: remove settings.xdg option
It's removed & deprecated in upstream's v2 plugin.
2026-06-15 19:17:02 +00:00
Matt Sturgeon
2414f3d85d tests/claudecode: skip running nvim in example test
> ERROR: [ClaudeCode] [config] [WARN] focus_after_send=true does not focus a Claude session running outside Neovim (terminal.provider="external"). Use a `User ClaudeCodeSendComplete` autocmd to focus it yourself.
2026-06-15 19:17:02 +00:00
Matt Sturgeon
e3c908fdf6 modules/output: add source locations to vimPlugin assertions
Include the definition locations of offending vim-plugins in the
`extraPackages` & `extraPackagesAfter` assertion messages.

This makes it easier to track down the plugin declarations,
especially when values originate from multiple modules.
2026-06-13 22:04:18 +00:00
Matt Sturgeon
a6554084d7 tests/modules/output: use pkgs.emptyDirectory 2026-06-13 22:04:18 +00:00
Austin Horstman
19a4e5efa1 modules/output: reject vim plugins in extraPackages
Prevent Vim plugin derivations from being silently treated as PATH packages and point users to extraPlugins instead.
2026-06-13 17:52:26 +00:00
Matt Sturgeon
f2029d9a26 lib/keymaps: remove lua submodule option
Co-authored-by: Austin Horstman <khaneliman12@gmail.com>
2026-06-12 18:04:20 +00:00
jaredmontoya
43a7e6f829 plugins/conflict.nvim: init 2026-06-09 08:54:13 +00:00
Zain Kergaye
5dac467f1c plugins/dap-disasm: init 2026-06-08 20:58:28 +00:00
Zain Kergaye
c90e6b5016 plugins/filemention: init 2026-06-08 20:54:22 +00:00
Matt Sturgeon
64f08f9a85 tests/plugins/multicursors: fix + re-enable hint.border example
[Hydra.nvim] Option "hint.border" has been deprecated and will be removed on 2024-02-01 -- See hint.float_opts
2026-06-08 02:02:17 +00:00
Matt Sturgeon
a25f7cf056 plugins/web-devicons: drop auto-enable and back-compat
- Drop `plugins.<name>.iconsPackage` removal stubs
- Drop deprecated `plugins.web-devicons.enable` auto-enable
- Cleanup tests that needlessly enable icons
2026-06-08 00:17:06 +00:00
Matt Sturgeon
0292e9a8c8 tests: stop handling x86_64-darwin 2026-06-05 08:02:28 +00:00
Filippo Airaldi
f3dc931903 plugins/wildfire.nvim: init 2026-05-29 14:20:19 +00:00
Austin Horstman
06a19e0783 modules/output: assert pure rtp needs wrapper 2026-05-24 04:27:26 +00:00
Austin Horstman
d82f383100 modules/output: load wrapped config via VIMINIT
Wrapped Nixvim configs previously passed the generated init.lua with -u. Neovim treats that startup path as an explicit user config and skips exrc processing, so project-local .nvim.lua files were not sourced even when users enabled the exrc option.

Load the generated config through a forced VIMINIT instead. This preserves the current wrapped-config precedence while allowing Neovim's normal exrc startup path to run for trusted project config files.

When impureRtp is disabled, clear XDG_CONFIG_DIRS and VIM from an early --cmd before sysinit is checked, then restore them before loading the generated config so runtime code and child processes see the original environment.

Keep the saved startup environment in a short-lived global Lua table shared between the --cmd and VIMINIT chunks, then clear it after restore.

Add a modules-output regression test that checks the wrapper args no longer include -u, verifies VIMINIT is set, confirms trusted .nvim.lua is sourced, blocks sysinit.vim, verifies XDG_CONFIG_DIRS and VIM are restored, and ensures the saved startup state is cleared.

Closes #3506
2026-05-24 04:27:26 +00:00
Austin Horstman
4503b3c5e9 plugins/vectorcode: add codecompanion integration 2026-05-22 02:10:12 +00:00
Austin Horstman
291ae38d9e plugins/claudecode: add module
Closes #3500
2026-05-22 01:47:53 +00:00
Austin Horstman
7f6f92a3c9 modules/lsp/onAttach: preserve event scope
Pass the LspAttach autocmd event into the shared onAttach helper so existing configs can still read event.buf and event.data.client_id after dynamic registration support moved the user body out of the autocmd callback.

For registerCapability reruns, provide a synthetic event with the fields Neovim documents for LspAttach that nixvim can still know: buf and data.client_id.

Fixes #4335
2026-05-21 21:32:05 +00:00
Austin Horstman
28eb36007c plugins/cspell: add module
Closes #2812
2026-05-21 21:00:09 +00:00
Austin Horstman
3ab66a1b06 plugins/trailblazer: add module
Closes #3453
2026-05-21 21:00:06 +00:00
Austin Horstman
8236161d3b plugins/live-share: add module
Closes #3650
2026-05-21 21:00:02 +00:00
Austin Horstman
0ae783996f plugins/codecompanion-history: add module
Closes #3325
2026-05-21 20:59:58 +00:00
Austin Horstman
b2f6193e4e plugins/justice: add module
Closes #4205
2026-05-21 20:59:54 +00:00
Austin Horstman
b680cf0ba3 plugins/just: add module
Closes #4204
2026-05-21 20:59:54 +00:00
Austin Horstman
60cbd020f6 plugins/sioyek-highlights: add module
Closes #4259
2026-05-21 20:59:41 +00:00
Austin Horstman
2d7cf9616b plugins/vectorcode: add module
Closes #3326
2026-05-20 22:55:13 +00:00
Austin Horstman
d633eb629f plugins/lsp-progress: add module
Closes https://github.com/nix-community/nixvim/issues/4296
2026-05-20 22:46:46 +00:00
Austin Horstman
e690fa934f plugins/neotab: add module
Closes #4186
2026-05-20 22:39:02 +00:00
Austin Horstman
30e1116b64 plugins/codex: add module
Closes #4220
2026-05-20 22:33:52 +00:00
Austin Horstman
c7e82d37c2 modules/lsp/onAttach: handle dynamic registrations
Some LSP servers register capabilities after LspAttach, so the global onAttach body must also run from client/registerCapability for buffers already attached to that client.

Keep the initial LspAttach autocmd for servers that advertise capabilities up front, and preserve the wrapped handler's return value.

Closes #3323
2026-05-20 17:06:06 +00:00
Austin Horstman
13ba3f7ca9 plugins/jdtls: prefer vim.lsp config registration
nvim-jdtls 0.11+ can be initialized through native Vim LSP config, so explicit FileType start_or_attach is no longer needed.

This avoids passing an empty table into start_or_attach, which triggers the runtime assertion when cmd is unset.

Instead, map plugins.jdtls.settings to lsp.servers.jdtls.config and keep the server enabled by default.

close #4165
2026-05-19 13:59:41 +00:00
Tash
72d07973ba plugins/lazy: allow pkg option in pluginType to be null.
- It's often required to define a spec that doesn't define a `pkg`, for
  example in the case of import statements.
2026-05-19 12:59:05 +00:00
Fovir
3643cc52c2 plugins/direnv: fix settingsOptions
- Remove prefixes in `settingsOptions`
- Correct the default value of `silent_load`
2026-05-19 11:17:34 +00:00
sportshead
40baf3664b plugins/jj-nvim: rename -> jj
https://github.com/nix-community/nixvim/pull/4290#issuecomment-4455883922
2026-05-15 11:25:51 +00:00
sportshead
d885c9b79b plugins/jj-nvim: init 2026-05-14 18:48:54 +00:00
Austin Horstman
a67d9cd6ff modules/top-level/output: add autowrapRuntimeDeps
Support user's overriding the wrapper behavior for wrapping runtime deps
from nixpkgs. Default to enabled, matching the wrapper.
2026-04-26 20:45:45 +00:00
Austin Horstman
e61a31b597 plugins/lz-n: support importing plugin specs 2026-04-25 23:58:09 +00:00
Austin Horstman
53d9c3c50b plugins/blink-indent: use optional setup 2026-04-25 01:23:51 +00:00
Austin Horstman
92ec3b4c3e plugins/fff: use optional setup 2026-04-25 01:23:51 +00:00
Austin Horstman
0f6b022322 modules/commands: support command preview
Expose nvim_create_user_command preview callbacks through userCommands so command previews can be configured declaratively instead of requiring raw setup Lua.
2026-04-24 21:59:51 +00:00
Austin Horstman
02bf85b6d4 tests: skip builds for warning-only cases 2026-04-24 21:51:09 +00:00