-
Notifications
You must be signed in to change notification settings - Fork 3
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
[macos] Treesitter re-installs parsers every time I open a relevant file #12
Comments
Hey 👋 It looks like rocks.nvim can't find your parser.
? Also, could you please attach a There should be a |
That's very curious. If that command outputs a non-empty table, rocks-treesitter.nvim starts highlighting and doesn't try to install the parser
So unless perhaps you're using an outdated version of this plugin, the only reason it would try to install the parsers has to be that it's returning an empty table when you open the file. |
I’m using the latest one, my because I’m on Mac with intel? |
Ha, that could indeed be the issue. The plugin assumes that
|
Should be fixed after a |
It's me again... Looks like that did not solve the issue =/ # [plugins]
# nvim-treesitter = "semver_version" # e.g. "1.0.0"
# List of non-Neovim rocks.
# This includes things like `toml` or other lua packages.
[rocks]
# List of Neovim plugins to install alongside their versions.
# If the plugin name contains a dot then you must add quotes to the key name!
[plugins]
"rocks.nvim" = "2.29.0"
"feline.nvim" = "1.6.2"
"rocks-treesitter.nvim" = "scm"
"rocks-git.nvim" = "1.5.1"
"rocks-config.nvim" = "1.6.0"
"telescope.nvim" = "scm"
"mini.nvim" = "scm"
nvim-web-devicons = "0.100"
auto-session = "2.0.1"
# Treesiter parsers
tree-sitter-elixir = "scm"
tree-sitter-vimdoc = "scm"
tree-sitter-toml = "scm"
tree-sitter-lua = "scm"
# Configs for our plugins
# https://github.com/nvim-neorocks/rocks-config.nvim
[config]
plugins_dir = "plugins/"
auto_setup = true
[plugins."gitsigns.nvim"]
git = "lewis6991/gitsigns.nvim"
[plugins."neofusion.nvim"]
git = "diegoulloao/neofusion.nvim"
#### Rocks configs
[treesitter]
auto_highlight = "all"
auto_install = true Maybe some other part of the Rocks ecosystem ins not handling the macOS correctly? Just asking this because I also had an issue with the self install script of Rocks that was related to its binaries. |
🤔 could you please look into |
You still have the old version installed.
I guess |
Just ruined a Maybe this help on your investigation
|
For now, try uninstalling and then installing rocks-treesitter.nvim |
Reinstalling seems to fix the issue. Thanks and sry for being the bringer of so many issues |
No problem, that's how software evolves 😄 |
https://share.cleanshot.com/BhpyrbXq
I recorded the video to make clear what is happening, basically every time I open vim again for that file type, it reinstall the tresitter parser.
Is there something wrong in my config? also in the video, let me know if I have to share something else.
Edit: I removed the
~/.local/share/nvim
and~/.cache/nvim
too and still the same issue.The text was updated successfully, but these errors were encountered: