Shougo / dein.vim

:zap: Dark powered Vim/Neovim plugin manager
MIT License
3.41k stars 197 forks source link

Fix dein#toml#syntax() effect with latest nvim-treesitter #457

Closed YuseiUeno closed 2 years ago

YuseiUeno commented 2 years ago

dein#toml#syntax() not have effect if using with latest nvim-treesitter. Because dein#toml#syntax() check :TSEnableAll, but it has rename to :TSEnable at https://github.com/nvim-treesitter/nvim-treesitter/pull/2764 .

https://github.com/Shougo/dein.vim/blob/488b4dfbb66d63c275c5adccfa3e22e4b7b7f005/autoload/dein/toml.vim#L7

dein#toml#syntax() contain nvim-treesitter command only :TSBufDisable. So, I think that check :TSBufDisable is better way.

Shougo commented 2 years ago

Thanks.