-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Suggestion - Split helix-grammars
from helix
package
#45828
Comments
you could also |
Thanks, I wasn't aware of that option. That should also allow a custom selection of grammars that are relevant to the user, so I'll use that for the time being. I still think a package separation would be more convenient, but if the consensus is that a user configuration is sufficient then feel free to close this issue. |
I'd assume that most users expect Helix to support all the treesitters out of the box as described in the official Helix docs. If this will be done, we should also add a note about it that shows up when installing the package, or instead make helix depend on helix-grammars, and not vice-versa as described above. |
We could instead have |
Cc maintainer @tranzystorek-io |
I'd rather avoid making this package more complex than it needs to be, unless it achieves sth more than just size optimization. |
That's fine with me, but a |
we don't need to subpackage everything |
Again, I don't object, I just disagree with the point that this is complicated. |
Then I'll close this, |
The
helix
package by default includes all its compiled treesitter grammars, which take up the majority of the package size (~110MB or 86% of the total size in the latest release, see also helix-editor/helix#6187).While it is useful to have LSP support for all these languages out of the box, I think it should be up to the user to decide if its worth the extra space, especially since its likely to increase as more languages get added.
So my suggestion would be to split the grammar *.so at
/usr/lib/helix/runtime/grammars
in an extra packagehelix-grammars
that depends onhelix
.The text was updated successfully, but these errors were encountered: