aboutsummaryrefslogtreecommitdiffstats
path: root/lua
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
parentUpdate lockfile.json (diff)
downloadnvim-treesitter-b922b2c3db1295d487ae0631a775608952489de6.tar
nvim-treesitter-b922b2c3db1295d487ae0631a775608952489de6.tar.gz
nvim-treesitter-b922b2c3db1295d487ae0631a775608952489de6.tar.bz2
nvim-treesitter-b922b2c3db1295d487ae0631a775608952489de6.tar.lz
nvim-treesitter-b922b2c3db1295d487ae0631a775608952489de6.tar.xz
nvim-treesitter-b922b2c3db1295d487ae0631a775608952489de6.tar.zst
nvim-treesitter-b922b2c3db1295d487ae0631a775608952489de6.zip
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')
-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 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 = {}