From 86ced59a6a5f9da137f75b98b5fc03b777255f52 Mon Sep 17 00:00:00 2001 From: Matthieu Coudron Date: Tue, 23 Mar 2021 23:32:45 +0100 Subject: feat: treesitter checkhealth --- runtime/autoload/health/treesitter.vim | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 runtime/autoload/health/treesitter.vim (limited to 'runtime/autoload') diff --git a/runtime/autoload/health/treesitter.vim b/runtime/autoload/health/treesitter.vim new file mode 100644 index 0000000000..5d3f62d2f5 --- /dev/null +++ b/runtime/autoload/health/treesitter.vim @@ -0,0 +1,5 @@ +function! health#treesitter#check() abort + call health#report_start('Checking treesitter configuration') + lua require 'nvim/treesitter'.check_health() +endfunction + -- cgit From 952508d4056b7869720f4a446f2d49963eaf937d Mon Sep 17 00:00:00 2001 From: Thomas Vigouroux Date: Thu, 1 Apr 2021 17:10:39 +0200 Subject: fix(ts): move checkhealth in runtime/vim --- runtime/autoload/health/treesitter.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/autoload') diff --git a/runtime/autoload/health/treesitter.vim b/runtime/autoload/health/treesitter.vim index 5d3f62d2f5..5f167310ce 100644 --- a/runtime/autoload/health/treesitter.vim +++ b/runtime/autoload/health/treesitter.vim @@ -1,5 +1,5 @@ function! health#treesitter#check() abort call health#report_start('Checking treesitter configuration') - lua require 'nvim/treesitter'.check_health() + lua require 'vim.treesitter.health'.check_health() endfunction -- cgit