Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update treesitter.lua #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

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