Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vim.highlight deprecated in Nvim 2.0.0, use vim.hl instead #1056

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

zigotica
Copy link

@zigotica zigotica commented Jan 8, 2025

WHen running :checkhealth a warning raises with this info:
vim.highlight deprecated in Nvim 2.0.0, use vim.hl instead

@@ -80,7 +80,7 @@ local CURRENT_HL = "AvanteConflictCurrent"
local INCOMING_HL = "AvanteConflictIncoming"
local CURRENT_LABEL_HL = "AvanteConflictCurrentLabel"
local INCOMING_LABEL_HL = "AvanteConflictIncomingLabel"
local PRIORITY = vim.highlight.priorities.user
local PRIORITY = vim.hl.priorities.user
Copy link
Owner

Choose a reason for hiding this comment

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

‌‌‌Need to ensure forward compatibility.

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.

2 participants