fix(health): lazydev.nvim instead of neodev.nvim (#96)

## Description

healthcheck checks for neodev.nvim which is archived and replaced by
lazydev.nvim.

## Related Issue(s)


## Screenshots
This commit is contained in:
Michael Peter 2024-12-09 09:55:05 +01:00 committed by GitHub
parent 1a8eb5dcc2
commit 605cf4f9aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 2 deletions

View File

@ -32,9 +32,13 @@ function M.check()
end
if pcall(require, "neodev") then
ok("**neodev.nvim** is installed")
warn("**neodev.nvim** is installed. lazydev.nvim is a much faster and better replacement for neodev")
end
if pcall(require, "lazydev") then
ok("**lazydev.nvim** is installed")
else
warn("**neodev.nvim** is not installed. You won't get any proper completion for your Neovim config.")
warn("**lazydev.nvim** is not installed. You won't get any proper completion for your Neovim config.")
end
local _, lspconfig = pcall(require, "lspconfig.util")