-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Add Swift language support #1964
Comments
Grammar is https://github.com/alex-pinkus/tree-sitter-swift, someone just needs to go over and fix up the highlighting queries |
Looked at that for doing this myself, problem is they don't include the parser.c etc. in the repository and instead advise using the crate or npm package, which helix doesn't support. Also, LSP is included in Xcode via |
Hmm: https://github.com/alex-pinkus/tree-sitter-swift#where-is-your-parserc If we supported http sources rather than git you could fetch it from the latest github actions build |
Currently the work-around that we have for this is to fork the repository and check in the generated C files (for example: https://github.com/jaredramirez/tree-sitter-rescript). I have a more long-term plan that will fix this but it isn't quite ready yet. |
Have to admit I don't really want to do that, I'd 100 % forget/procrastinate updating that, letting it get out of date … Maybe I'll find time to automate updating the fork, then of course I can contribute support for Helix myself. Meanwhile, I created an issue there to include the files … |
Closed by #2033 |
No description provided.
The text was updated successfully, but these errors were encountered: