-
Notifications
You must be signed in to change notification settings - Fork 282
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
Haskell syntax highlighting no longer works #2307
Comments
This issue mentions that the |
For more concrete info, what I mean is that the https://github.com/JustusAdam/language-haskell/tree/master/syntaxes |
Here's the commit that introduced the change: JustusAdam/language-haskell@8acc8bd Seems to be a vscode task that executes a script using |
So is this a bug that has to be addressed on onivim's side or the plugin's side? |
Onivim's side, we aren't running this https://github.com/JustusAdam/language-haskell/blob/master/.vscode/launch.json (which says to run I believe this is the first plugin we've come across that has these launch steps, so we are missing it from the ext host. |
It could also be addressed on the plugin side though, and I think that would be preferable. It seems unnecessary to have a compilation step that runs every time the extension is launched, most likely incurring a notable delay, instead of doing it as part of the publish process. |
Forgot to mention earlier that whenever I'd open a Haskell file without the |
Yep - the vscode-task is actually meant as a build step (it gets run when you run the extension via F5 in VSCode) - but when the package is bundled, it's expected the build syntax files are there. The issue is that the build step Once that's added, the extension gets those syntaxes, and everything works: |
Opened a PR here to add the |
Continuation of work in #933 - updating PR to new subscription model This allow setting the filetype via `:set filetype=`, or by clicking the filetype in the menu bar: ![2020-08-18 12 42 28](https://user-images.githubusercontent.com/13532591/90558212-8a2c1700-e150-11ea-856d-52f9a0789f92.gif) __TODO:__ - [x] Fix filetype being lost on save - [x] Implement clickable status bar - [x] Implement menu Fixes #782
It seems like syntax highlighting functionality was rewritten recently. It now outputs JSON instead of XML, according to @CrossR:
How could this issue be resolved?
The text was updated successfully, but these errors were encountered: