Commit Graph
1775 Commits
Author SHA1 Message Date
Gaetan Lepage 8c096abcf3 tests/all-package-defaults: disable serve-d on aarch64-darwin 2026-08-27 20:31:50 +00:00
Austin Horstman d9b86dba91 lib/types: accept integer highlight colors
Neovim's generated keyset types `fg`, `bg`, `sp`, `ctermfg`, `ctermbg`,
and `link` as `integer|string`, and `nvim_set_hl` accepts an integer for
each. Verified against the pinned 0.12.4:

    nvim_set_hl(0, "X", { fg = 16711680, ctermfg = 1 })

Nixvim declared all six through `mkNullOrStr`, so those values failed to
evaluate even though the highlight submodule is freeform and would
otherwise have passed them through.

Widen them to `either int str`. An integer means a different thing per
attribute, so say which in each description: `fg`, `bg`, and `sp` take a
24-bit RGB value, `ctermfg` and `ctermbg` take a palette index, and
`link` takes a highlight group id.

`mkNullOrStr` has no remaining use in this file, so drop the import.
2026-08-27 17:54:47 +00:00
Austin Horstman 57ab753f71 lib/types: accept raw Lua for highlight attrs
`mkNullOrStr` is `maybeRaw str`, so the string attributes of the
highlight submodule already take raw Lua. `5ae4714e` added that for
strings only, which left every boolean and `blend` on a plain type that
rejects it.

Wrap those in `maybeRaw` as well, so computing any highlight attribute
in Lua no longer needs a workaround for the ones that happen to be
booleans.
2026-08-27 17:54:47 +00:00
Austin Horstman 2d8c5eccb4 modules/performance: keep plugin runtimeDeps when combining
`combinePlugins` dropped the `runtimeDeps` of the combined plugins.
The neovim wrapper then lost those PATH entries when
`autowrapRuntimeDeps` was enabled.

Aggregate `runtimeDeps` from the combined plugins and pass them through the
plugin pack. nixpkgs reads the resulting `plugin.runtimeDeps` in
`plugin-submodule.nix`.
2026-08-27 17:32:20 +00:00
PierreBorineandAustin Horstman ebec1ae277 plugins/nvim-toggler: init 2026-08-25 20:53:39 +00:00
Austin Horstman 6ab631caaf plugins/coq-nvim: set Lua module name
The plugin exports its setup function from the coq module. Set module metadata so a forced setup call requires the valid module.
2026-08-25 20:35:50 +00:00
PierreBorineandAustin Horstman ef697230d4 plugins/md-table-tidy: init 2026-08-25 20:27:04 +00:00
bileamScheuvensandAustin Horstman 6936df86ee plugins/vim-hypr-nav: init 2026-08-25 13:49:05 +00:00
Austin Horstman 0e1cbf6372 lib/plugins: expose callSetup for all defaults
Modules with a false default did not expose the user option.
Users could not force standard setup generation.
Keep null as the built-in fallback.
Omit the option when Lua configuration is unavailable.
2026-08-24 19:32:22 +00:00
Austin Horstman 85e5e6b011 plugins/tuis: add tuis.nvim plugin support 2026-08-24 19:06:42 +00:00
Austin Horstman 680403adb3 plugins/multicursor: add multicursor.nvim plugin support 2026-08-24 19:06:37 +00:00
Austin Horstman c03819e5a7 plugins/claude-fzf-history: add claude-fzf-history.nvim plugin support 2026-08-24 19:06:31 +00:00
Austin Horstman 46299f2ac6 plugins/claude-fzf: add claude-fzf.nvim plugin support 2026-08-24 19:06:31 +00:00
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