Skip to content

fix: replace deprecated vim.validate table specs - #73

Closed
rmarganti wants to merge 1 commit into
nvimtools:mainfrom
rmarganti:fix/use-current-vim-validate
Closed

rmarganti wants to merge 1 commit into
nvimtools:mainfrom
rmarganti:fix/use-current-vim-validate

Conversation

@rmarganti

Copy link
Copy Markdown

Summary

  • Replace the deprecated vim.validate(spec) calls in Hydra initialization with the current argument-based signature.
  • Preserve optional fields, accepted types, and custom validation messages.

Verification

  • Loaded the fork in Neovim 0.12.1 and confirmed Hydra mappings are registered.
  • Checked valid and invalid Hydra configurations; no deprecated vim.validate calls were emitted.

This overlaps with #72; this PR is an alternative implementation of the same fix.

@rmarganti

Copy link
Copy Markdown
Author

Closing this duplicate in favor of #72. I will keep this change in my fork for my Neovim config.

@rmarganti rmarganti closed this Sep 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant