-
-
Notifications
You must be signed in to change notification settings - Fork 158
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
rocks.nvim install: #946
Comments
I received this warning from orgmode :
I think it should show all conflicting grammars, how does it know which is the correct one ?
|
Even though it's against the luarocks convention, I'll probably remove the dependency on the luarocks level and have orgmode install the grammar. Regarding that comment, it looks like something that should work out of the box, in terms that you should not be required to add the path to rtp, but again, I'm not aware of the Rocks underlying structure. Once the new version is up (should be soon), you should not have this issue any more. |
Ok release is out. I suggest you just remove both installed parsers, update nvim-orgmode to the latest version, and let it install the parser. |
ha now I am sad because I have been advocating for automatic dependency management since forever. Removing the dependency is a regression. |
It is expected to be in the I'm aware this is somewhat a regression, but TBH I don't think a lot of people adopted the Once Neovim hopefully ships a full support for WASM parsers, we will have it prebuilt as part of the repo. |
I had treesitter errors for orgmode (installed via nix) but I noticed that orgmode had both its plugin and the grammar on luarocks.org so I thought I would install it via Rocks instead.
I take notes here before adding rocks command to https://github.com/nvim-orgmode/orgmode/blob/master/docs/installation.org
I've got those 2 installed in
:Rocks edit
Apparently I would not need to use tree-sitter-orgmode since it's already a dependency:
https://luarocks.org/manifests/kristijanhusak/orgmode-0.5.2-1.rockspec
checkhealth rocks-config
complained aboutSo in this case orgmode wrongly tries to install tree-sitter-org instead of tree-sitter-orgmode ?
Fixed by adding vim.opt.runtimepath:append(vim.fs.joinpath(vim.fn.stdpath("data"), "rocks", "lib", "luarocks", "rocks-5.1", "tree-sitter-", "")) in init.lua.
I stumbled upon this message #804 (comment) . is it sill valid ?
The advantage of rocks.nvim is that it should install all dependencies including the parser but in this cade I also had orgmode trying to compile the grammar while it should already be available ?
The text was updated successfully, but these errors were encountered: