From b922b2c3db1295d487ae0631a775608952489de6 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Thu, 2 Jun 2022 12:45:54 +0200 Subject: fix(health): update to upstream changes The `health` module was moved to `vim.health` in https://github.com/neovim/neovim/pull/18720 --- lua/nvim-treesitter/health.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua') diff --git a/lua/nvim-treesitter/health.lua b/lua/nvim-treesitter/health.lua index 3f5564100..917a8a65c 100644 --- a/lua/nvim-treesitter/health.lua +++ b/lua/nvim-treesitter/health.lua @@ -7,7 +7,7 @@ local shell = require "nvim-treesitter.shell_command_selectors" local install = require "nvim-treesitter.install" local utils = require "nvim-treesitter.utils" -local health = require "health" +local health = vim.health or require "health" local M = {} -- cgit v1.2.3-70-g09d2