aboutsummaryrefslogtreecommitdiff
path: root/runtime/autoload
diff options
context:
space:
mode:
authorMatthieu Coudron <mcoudron@hotmail.com>2021-03-23 23:32:45 +0100
committerThomas Vigouroux <tomvig38@gmail.com>2021-04-06 18:54:22 +0200
commit86ced59a6a5f9da137f75b98b5fc03b777255f52 (patch)
tree546a5f46dc4c831c3c31a1e7d7118ebfa621d3fa /runtime/autoload
parent11bea67a557397a52f881c935f3c85484bdfe121 (diff)
downloadrneovim-86ced59a6a5f9da137f75b98b5fc03b777255f52.tar.gz
rneovim-86ced59a6a5f9da137f75b98b5fc03b777255f52.tar.bz2
rneovim-86ced59a6a5f9da137f75b98b5fc03b777255f52.zip
feat: treesitter checkhealth
Diffstat (limited to 'runtime/autoload')
-rw-r--r--runtime/autoload/health/treesitter.vim5
1 files changed, 5 insertions, 0 deletions
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
+