From d3aad43b3fcf707052f7dd8a7c7072fa69773f3c Mon Sep 17 00:00:00 2001 From: Simon Hauser Date: Thu, 2 Jun 2022 20:17:39 +0200 Subject: [PATCH] fix: health for neovim nightly (#1984) The `health` module was moved to `vim.health` in neovim/neovim#18720 --- lua/telescope/health.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/telescope/health.lua b/lua/telescope/health.lua index 05ec37d..d33a966 100644 --- a/lua/telescope/health.lua +++ b/lua/telescope/health.lua @@ -1,4 +1,4 @@ -local health = require "health" +local health = vim.health or require "health" local extension_module = require "telescope._extensions" local extension_info = require("telescope").extensions local is_win = vim.api.nvim_call_function("has", { "win32" }) == 1