nvim-treesitter/autoload/health/nvim_treesitter.vim
Javier López 66f1873213 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.
2021-10-11 09:47:16 +02:00

3 lines
100 B
VimL

function! health#nvim_treesitter#check()
lua require 'nvim-treesitter.health'.check()
endfunction