summaryrefslogtreecommitdiff
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
parentea0f6614b7f67d141b68a8c68dcfbe0dca19009a (diff)
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 e388f6f1..53e187cd 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