1762 Commits
Author SHA1 Message Date
Gaetan Lepage f1311e1d8c tests: disable veridian (build failure) 2026-08-16 13:57:11 +00:00
Gaetan Lepage f65ba905f3 tests/all-package-defaults: disable oxlint on darwin 2026-08-10 15:46:33 +00:00
Gaetan Lepage ce22ef31fd tests/all-package-defaults: disable ponyc on aarch64-linux 2026-08-10 15:46:33 +00:00
Stanislav AsunkinandMatt Sturgeon b79ccde69a plugins/treesitter: return early if there is no parser available 2026-07-29 22:32:01 +00:00
Stanislav AsunkinandMatt Sturgeon dc0c5e350e plugins/treesitter: improve Nixvim's native tree-sitter setup
This commit improves Nixvim's native tree-sitter setup for the modern
nvim-treesitter main branch. The intent was to bring more customizations
that were lost after switching from master branch. In particular:
- `highlight.disable` option now accepts a raw function compatible with
  disable parameter from master branch. Additionally it accepts a third
  filetype parameter
- add `highlight.enableVimSyntax` option to enable :h syntax for chosen
  filetypes. Syntax is sometimes needed for indent files, some vim
  scripts, or to improve highlighting for compopund filetypes
- `indent` and `folding` now also have `disable` support
- all features are now enabled only when the parser and queries are
  available for current filetype. This avoids setting 'indentexpr' and
  'foldexpr' when they cannot work because of missing parser or queries
- adds commands to `b:undo_ftplugin` variable to undo options set. The
  content of this variable is automatically executed by Nvim when
  switching filetype (by ftplugin). This is needed so that options were
  reset if the filetype is changed. Previously stale options were left.
2026-07-29 22:32:01 +00:00
Austin Horstman 1b436e6a65 modules/lsp/servers: document common configurations
Add primary-source-backed examples for common servers whose configuration shape is easy to get wrong.
2026-07-29 20:19:54 +00:00
Austin Horstman 4966920244 modules/lsp/servers: document tinymist configuration
Add Tinymist-specific guidance and verify rendered option metadata while preserving generic server fallbacks.
2026-07-29 20:19:54 +00:00
Matt Sturgeon 4ef28e447b Revert "tests: disable vectorcode"
This reverts commit 1b06626c17.
2026-07-12 15:18:12 +00:00
Matt Sturgeon c2faafacaf Revert "tests/all-package-defaults: disable codex on darwin"
This reverts commit 3103545331.
2026-07-12 15:18:12 +00:00
Matt Sturgeon 992c9c0f74 tests/all-package-defaults: disable R on darwin 2026-07-12 13:18:22 +00:00
Matt Sturgeon 3103545331 tests/all-package-defaults: disable codex on darwin 2026-07-12 13:18:22 +00:00
Matt Sturgeon adc03a3d70 tests/all-package-defaults: disable godot on darwin 2026-07-12 13:18:22 +00:00
Matt Sturgeon 637d45981f tests/all-package-defaults: disable sioyek on darwin 2026-07-12 13:18:22 +00:00
Matt Sturgeon 1aee8fbd1f tests: disable cpplint 2026-07-12 13:18:22 +00:00
Matt Sturgeon b275f90bee tests: disable fstar
Dependency z3-4.8.5 fails to build.
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
Matt Sturgeon 6d1424cefd Revert "tests/platforms/darwin: disable docs"
This reverts commit 8a95c224e3.
2026-07-08 20:55:29 +00:00
Matt Sturgeon 8a95c224e3 tests/platforms/darwin: disable docs
Workaround for https://github.com/nix-darwin/nix-darwin/issues/1817
2026-07-05 14:56:14 +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 97f048f640 ci: buildbot-nix → nixbot
Migrate flake outputs, config files, etc from buildbot-nix to nixbot.

This is not urgent, because nixbot falls back to buildbot-nix.toml when
nixbot.toml is missing.
2026-07-02 13:52:50 +00:00
Matt Sturgeon cc3b773a7a modules/nixpkgs: use libForPkgs for elaborate
`lib.systems.elaborate` is sensitive to Nixpkgs revision, so import a
`lib` instance from the Nixpkgs revision we're constructing.
2026-07-01 00:13:16 +00:00
Austin Horstman 157cbcb47b modules/lsp/packages: map newly packaged servers
Move servers from unpackaged list to direct nixpkgs packages where
binary names are now available so auto-install can resolve them.
2026-06-16 19:23:42 +00:00
Matt SturgeonandAustin Horstman 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 SturgeonandAustin Horstman 0065d0b5e6 plugins/obsidian: deprecate completion.{blink,nvim-cmp} settings
Mirror upstream's deprecation.
2026-06-15 19:17:02 +00:00
Matt SturgeonandAustin Horstman 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 SturgeonandAustin Horstman 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 SturgeonandAustin Horstman 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 SturgeonandAustin Horstman 8152a24e66 tests/all-package-defaults: disable semgrep on aarch64 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
Matt SturgeonandMrQubo 56f95d1655 wrappers: fix _module.check disablement
When passing a string to `disabledModules`, it is appended to
`modulesPath`. To avoid this, explicitly pass a `{key}` module.

Adds an assertion module to the platform-wrapper integration tests:

    Failed assertions:
       - Expected programs.nixvim._module.check to be true. Definitions:
       - In `/nix/store/XXXX-source/flake/wrappers.nix': false

Co-authored-by: MrQubo <jakub.jakub.nowak@gmail.com>
2026-06-13 19:20:02 +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 SturgeonandAustin Horstman f2029d9a26 lib/keymaps: remove lua submodule option
Co-authored-by: Austin Horstman <khaneliman12@gmail.com>
2026-06-12 18:04:20 +00:00
Matt Sturgeon 753b1cd663 tests/nixpkgs-fetch: cross-check with version-info.toml 2026-06-09 19:46:00 +00:00
jaredmontoyaandMatt Sturgeon 43a7e6f829 plugins/conflict.nvim: init 2026-06-09 08:54:13 +00:00
Zain KergayeandMatt Sturgeon 5dac467f1c plugins/dap-disasm: init 2026-06-08 20:58:28 +00:00
Zain KergayeandMatt Sturgeon 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 816a15282e tests/all-package-defaults: combine darwin + aarch64-darwin 2026-06-05 08:02:28 +00:00
Matt Sturgeon 0292e9a8c8 tests: stop handling x86_64-darwin 2026-06-05 08:02:28 +00:00
Filippo AiraldiandMatt Sturgeon f3dc931903 plugins/wildfire.nvim: init 2026-05-29 14:20:19 +00:00
Gaetan Lepage 7dbb34738b tests/all-package-defaults: disable ols on darwin (because of compiler-rt-libc) 2026-05-28 13:08:23 +00:00
Matt Sturgeon 01bd278849 modules: drop helpers alias
Deprecated since 25.11.
2026-05-25 00:15:52 +00:00
Matt Sturgeon e71dab10a6 tests/platforms: add failing test for #4341
We see infinite recursion when `config.lib` is used to construct or define a `programs.nixvim` module.
2026-05-24 23:09:56 +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
Matt Sturgeon ad628ccbd2 nixpkgs: add file that fetches pinned revision 2026-05-24 03:05:36 +00:00