symphony icon indicating copy to clipboard operation
symphony copied to clipboard

bug: fix treesitter nvim bug

Open Ltony2022 opened this issue 10 months ago • 3 comments

What went wrong?

Nvim keeps showing treesitter error, suspected due to old require("nvim-treesitter.config")

Steps to reproduce

  1. Install symphony
  2. Run nvim and wait for initial setup.

What did you expect to happen?

Everything works as expected.

What actually happened?

An error notification about nvim-treesitter pops up.

Theme

any

Affected areas (check all that apply)

  • [ ] Terminal (kitty/ghostty/alacritty)
  • [ ] Hyprland
  • [ ] Waybar
  • [ ] Rofi
  • [ ] GTK (3/4)
  • [ ] Swaync
  • [ ] btop
  • [ ] cava
  • [ ] yazi
  • [ ] rmpc
  • [ ] vesktop
  • [ ] Obsidian
  • [x] Neovim

Logs or screenshots (optional)

No response

Ltony2022 avatar Jan 16 '26 15:01 Ltony2022

Treesitter had a breaking change: rename configs to config in ~/.config/nvim/lua/plugins/treesitter.lua Make sure the plugin points to the main branch, then run :Lazy update and :TSUpdate.

https://github.com/user-attachments/assets/c0d32324-36b9-445f-aa83-0190c45a302c

vyrx-dev avatar Jan 17 '26 09:01 vyrx-dev

also install sudo pacman -S tree-sitter-cli if missing

vyrx-dev avatar Jan 17 '26 09:01 vyrx-dev

That fixes it, thanks!

Ltony2022 avatar Jan 17 '26 11:01 Ltony2022