summaryrefslogtreecommitdiff
path: root/lua/nvim-treesitter
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2022-06-02 12:45:54 +0200
committerChristian Clason <christian.clason@uni-due.de>2022-06-02 12:56:57 +0200
commitb922b2c3db1295d487ae0631a775608952489de6 (patch)
tree26b8503cf73a4e6dabf24d377552b998beeb0fb4 /lua/nvim-treesitter
parentd0a32420ae8265b8da886cd4f9a2306ec7da10c9 (diff)
fix(health): update to upstream changes
The `health` module was moved to `vim.health` in https://github.com/neovim/neovim/pull/18720
Diffstat (limited to 'lua/nvim-treesitter')
-rw-r--r--lua/nvim-treesitter/health.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/nvim-treesitter/health.lua b/lua/nvim-treesitter/health.lua
index 3f556410..917a8a65 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 = {}