aboutsummaryrefslogtreecommitdiffstats
path: root/autoload
diff options
context:
space:
mode:
authorJavier López <graulopezjavier@gmail.com>2021-10-06 09:29:08 -0500
committerThomas Vigouroux <tomvig38@gmail.com>2021-10-11 09:47:16 +0200
commit66f1873213617a334d4a7af947dad5b2b796dab2 (patch)
tree265ca312f555c8868a1b4d68f481475c9902731d /autoload
parentAdd scala maintainer (diff)
downloadnvim-treesitter-66f1873213617a334d4a7af947dad5b2b796dab2.tar
nvim-treesitter-66f1873213617a334d4a7af947dad5b2b796dab2.tar.gz
nvim-treesitter-66f1873213617a334d4a7af947dad5b2b796dab2.tar.bz2
nvim-treesitter-66f1873213617a334d4a7af947dad5b2b796dab2.tar.lz
nvim-treesitter-66f1873213617a334d4a7af947dad5b2b796dab2.tar.xz
nvim-treesitter-66f1873213617a334d4a7af947dad5b2b796dab2.tar.zst
nvim-treesitter-66f1873213617a334d4a7af947dad5b2b796dab2.zip
feat(healthcheck): support native lua healthchecks, and fixes
After neovim/neovim#15259 lua healthchecks are called directly and are prefered over neovim autoload ones. The discover of Lua ones requires the function to be named "check()". Also the mentioned PR changed the design of healthchecks to not use output capturing, therefore avoid printing and instead concatenate and call the health functions.
Diffstat (limited to 'autoload')
-rw-r--r--autoload/health/nvim_treesitter.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/health/nvim_treesitter.vim b/autoload/health/nvim_treesitter.vim
index e388f6f19..53e187cda 100644
--- a/autoload/health/nvim_treesitter.vim
+++ b/autoload/health/nvim_treesitter.vim
@@ -1,3 +1,3 @@
function! health#nvim_treesitter#check()
- lua require 'nvim-treesitter.health'.checkhealth()
+ lua require 'nvim-treesitter.health'.check()
endfunction