Skip to content

fix: replace deprecated vim.highlight and vim.validate calls - #126

Open
evanpurkhiser wants to merge 1 commit into
akinsho:mainfrom
evanpurkhiser:evanpurkhiser/fix-deprecated-apis
Open

fix: replace deprecated vim.highlight and vim.validate calls#126
evanpurkhiser wants to merge 1 commit into
akinsho:mainfrom
evanpurkhiser:evanpurkhiser/fix-deprecated-apis

Conversation

@evanpurkhiser

Copy link
Copy Markdown

Fixes #117

  • vim.highlight.priorities -> vim.hl.priorities (deprecated in 0.11)
  • vim.validate({name = {val, type}}) -> vim.validate(name, val, type) (deprecated in 0.11)

- vim.highlight.priorities → vim.hl.priorities (deprecated in nvim 0.12)
- vim.validate({name = {val, type}}) → vim.validate(name, val, type) (deprecated in nvim 1.0)
@samhed

samhed commented May 23, 2026

Copy link
Copy Markdown

I tested this, it works fine - and :checkhealth no longer complains.

@KarlHeitmann

Copy link
Copy Markdown

Yes, I think this one will fix the :checkhealth issue in Neovim 0.12.4

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.

WARNING vim.highlight is deprecated

3 participants