Skip to content

Conversation

@ReinierB
Copy link

@ReinierB ReinierB commented Dec 9, 2023

When I start nvim and then load the first file in NeoVim (through using f ) this warning message is displayed, followed by the stack trace:

"context_commentstring nvim-treesitter module is deprecated, use require('ts_context_commentstring').setup {} and set vim.g.skip_ts_context_commentstring_module = true to speed up loading instead. This feature will be removed in ts_context_commentstring version in the future (see JoosepAlviste/nvim-ts-context-commentstring#82 for more info)"

After following the instructions found in the link JoosepAlviste/nvim-ts-context-commentstring#82 ie: remove the:

context_commentstring = {
enable = true,
},

(in treesitter.lua)

and then Lazy -> Update

the warning does not show any more.

When I start nvim and then load the first file in NeoVim (through using <leader>f ) this warning message is displayed, followed by the stack trace:

"context_commentstring nvim-treesitter module is deprecated, use require('ts_context_commentstring').setup {} and set vim.g.skip_ts_context_commentstring_module = true to speed up loading instead.                                                                                                                                                                         
This feature will be removed in ts_context_commentstring version in the future (see JoosepAlviste/nvim-ts-context-commentstring#82 for more info)"

After following the instructions found in the link JoosepAlviste/nvim-ts-context-commentstring#82 ie: remove the:

  context_commentstring = {
    enable = true,
  },

(in treesitter.lua)

and then Lazy -> Update

the warning does not show any more.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant