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

error: context_commentstring nvim-treesitter module is deprecated #4468

Closed
harryhanYuhao opened this issue Jan 16, 2024 · 3 comments · Fixed by #4451
Closed

error: context_commentstring nvim-treesitter module is deprecated #4468

harryhanYuhao opened this issue Jan 16, 2024 · 3 comments · Fixed by #4451
Labels
bug Something isn't working

Comments

@harryhanYuhao
Copy link

Problem description

Upon opening certain files and not others, this error is shown

context_commentstring nvim-treesitter module is deprecated, use require('ts_context_commentstring').setup {} and set vim.g.skip_ts_context_commen
tstring_module = true to speed up loading instead.

LunarVim version

master-b124e8c

Neovim version (>= 0.9.1)

v0.9.4

Terminal name

alacritty

Operating system/version

Fedora

Steps to reproduce

This error message does not seem to be consistent: sometimes it appears after I open a file sometimes not even if I open the same file.

Screenshots

No response

@harryhanYuhao harryhanYuhao added the bug Something isn't working label Jan 16, 2024
@kylo252 kylo252 linked a pull request Jan 17, 2024 that will close this issue
@kylo252 kylo252 pinned this issue Jan 17, 2024
@kylo252
Copy link
Collaborator

kylo252 commented Jan 17, 2024

until the PR is done, adding this to your config.lua should fix it for now

lvim.builtin.treesitter.context_commentstring = nil

@salimp2009
Copy link

Did some research and nvim-treesitter module is depreceated and the link is here explaining how to mitigate
JoosepAlviste/nvim-ts-context-commentstring#82 (comment)

This comment was marked as outdated.

@github-actions github-actions bot added the stale label Apr 5, 2024
@kylo252 kylo252 removed the stale label Apr 9, 2024
@kylo252 kylo252 unpinned this issue May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants