summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorSimon Hauser <Simon-Hauser@outlook.de>2022-06-02 20:17:39 +0200
committerGitHub <noreply@github.com>2022-06-02 20:17:39 +0200
commitd3aad43b3fcf707052f7dd8a7c7072fa69773f3c (patch)
treec97d27517f7525d05e72375e6bfa85ef8d36e35b /lua
parent28bb75fd91686ff5ec3370ad1c2f708835392f45 (diff)
fix: health for neovim nightly (#1984)
The `health` module was moved to `vim.health` in neovim/neovim#18720
Diffstat (limited to 'lua')
-rw-r--r--lua/telescope/health.lua2
1 files changed, 1 insertions, 1 deletions
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