Deprecation warning in neovim 0.10
LanguageTree:for_each_child() is deprecated, use LanguageTree:children() in
stead. :help deprecated
Feature will be removed in Nvim 0.11
stack traceback:
...0/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:473: in
function 'for_each_child'
...lazy/nvim-ts-rainbow2/lua/ts-rainbow/strategy/global.lua:98: in
function 'setup_parser'
...lazy/nvim-ts-rainbow2/lua/ts-rainbow/strategy/global.lua:135: in
function <...lazy/nvim-ts-rainbow2/lua/ts-rainbow/strategy/global.lua:133>
[C]: in function 'pcall'
...e/nvim/lazy/nvim-ts-rainbow2/lua/ts-rainbow/internal.lua:82: in
function 'attach'
...vim/lazy/nvim-treesitter/lua/nvim-treesitter/configs.lua:509: in
function 'attach_module'
...vim/lazy/nvim-treesitter/lua/nvim-treesitter/configs.lua:532: in
function 'reattach_module'
...vim/lazy/nvim-treesitter/lua/nvim-treesitter/configs.lua:133: in
function <...vim/lazy/nvim-treesitter/lua/nvim-treesitter/configs.lua:132>
[C]: in function 'nvim_cmd'
...rew/Cellar/neovim/0.10.0/share/nvim/runtime/filetype.lua:36: in
function <...rew/Cellar/neovim/0.10.0/share/nvim/runtime/filetype.lua:35>
[C]: in function 'nvim_buf_call'
...rew/Cellar/neovim/0.10.0/share/nvim/runtime/filetype.lua:35: in
function <...rew/Cellar/neovim/0.10.0/share/nvim/runtime/filetype.lua:10>
Neovim version
0.10.0
Language affected
No response
Query
No response
Strategy
No response
Description