1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 13:00:04 +08:00

fix(treesitter): add loadable function

This commit is contained in:
wsdjeg 2022-04-21 00:20:42 +08:00
parent 2b4b4ec93b
commit 22939866c0

View File

@ -27,3 +27,9 @@ function! SpaceVim#layers#treesitter#health() abort
call SpaceVim#layers#treesitter#plugins()
return 1
endfunction
function! SpaceVim#layers#treesitter#loadable() abort
return has('nvim')
endfunction