1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-03-23 17:49:57 +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() call SpaceVim#layers#treesitter#plugins()
return 1 return 1
endfunction endfunction
function! SpaceVim#layers#treesitter#loadable() abort
return has('nvim')
endfunction