Skip to content

Fixed deprecated calls of vim.validate#1876

Merged
williamboman merged 5 commits intomason-org:mainfrom
marks0mmers:main
Feb 15, 2025
Merged

Fixed deprecated calls of vim.validate#1876
williamboman merged 5 commits intomason-org:mainfrom
marks0mmers:main

Conversation

@marks0mmers
Copy link
Contributor

Hello, this is a simple PR to change the way vim.validate is called because of a deprecation in Neovim

This closes #1875

Copy link
Member

@williamboman williamboman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I added a check to make sure it only uses the new validate API when it's available.

@williamboman williamboman merged commit 5664dd5 into mason-org:main Feb 15, 2025
17 checks passed
williamboman added a commit to Captainfl4me/mason.nvim that referenced this pull request Feb 15, 2025
* origin/main:
  fix: avoid calling vim.fn in fast event (mason-org#1878)
  fix(ui): reposition window if border is different than "none" (mason-org#1859)
  fix: replace deprecated calls to vim.validate (mason-org#1876)
  tests: add new nvim versions to test matrix (mason-org#1877)
williamboman added a commit to vuxuanhungg/mason.nvim that referenced this pull request Feb 15, 2025
* origin/main:
  fix(fs): fall back to `fs_stat` if entry type is not returned by `fs_readdir` (mason-org#1783)
  fix: avoid calling vim.fn in fast event (mason-org#1878)
  fix(ui): reposition window if border is different than "none" (mason-org#1859)
  fix: replace deprecated calls to vim.validate (mason-org#1876)
  tests: add new nvim versions to test matrix (mason-org#1877)
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.

vim.validate({}) is deprecated in Neovim 0.11

2 participants