From 63f6b21d2f04069f68a32604feae6bcd352b90fb Mon Sep 17 00:00:00 2001 From: William Boman Date: Mon, 3 Jan 2022 10:42:18 +0100 Subject: health: add neovim version check --- lua/nvim-lsp-installer/health/init.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lua') diff --git a/lua/nvim-lsp-installer/health/init.lua b/lua/nvim-lsp-installer/health/init.lua index 051a3830..4e4192f0 100644 --- a/lua/nvim-lsp-installer/health/init.lua +++ b/lua/nvim-lsp-installer/health/init.lua @@ -112,6 +112,12 @@ end function M.check() health.report_start "nvim-lsp-installer report" + if vim.fn.has "nvim-0.6.0" == 1 then + health.report_ok "neovim version >= 0.6.0" + else + health.report_error "neovim version < 0.6.0" + end + local completed = 0 local check = mk_healthcheck(vim.schedule_wrap( -- cgit v1.2.3-70-g09d2