Closed YuseiUeno closed 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 .
dein#toml#syntax()
nvim-treesitter
:TSEnableAll
:TSEnable
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.
:TSBufDisable
Thanks.
dein#toml#syntax()
not have effect if using with latestnvim-treesitter
. Becausedein#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()
containnvim-treesitter
command only:TSBufDisable
. So, I think that check:TSBufDisable
is better way.