sindrets / diffview.nvim

Single tabpage interface for easily cycling through diffs for all modified files for any git rev.
Other
3.57k stars 101 forks source link

fix: `vim.diagnostic.disable` is deprecated #499

Closed yorickpeterse closed 1 month ago

yorickpeterse commented 1 month ago

Instead one should use vim.diagnostic.enable in the following form:

vim.diagnostic.enable(true | false, { bufnr = BUFFER })
yorickpeterse commented 1 month ago

@sindrets Thanks for the reminder, I've adjusted the changes to check for the NeoVim version based on how this is done in some other places :smiley: