Skip to content
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

using fun() in breaks follow-up specs attributes formatting #1

Open
TheGeorge opened this issue Feb 5, 2021 · 5 comments
Open

using fun() in breaks follow-up specs attributes formatting #1

TheGeorge opened this issue Feb 5, 2021 · 5 comments

Comments

@TheGeorge
Copy link

Screen Shot 2021-02-05 at 4 14 32 PM

@KornelH
Copy link

KornelH commented Jun 29, 2021

As I remember I fixed some of these highlight issues in https://github.com/pgourlain/vscode_erlang. Unfortunately this repo is based on the same source that was used by vscode_erlang so the updates are now gone from vscode_erlang. I plan to create a pull request for this repo and then uplift this submodule in vscode_erlang to get back the updates.

@TheGeorge
Copy link
Author

TheGeorge commented Jun 30, 2021 via email

@robertoaloi
Copy link
Member

robertoaloi commented Jun 30, 2021

Hi, even if the idea behind pgourlain/vscode_erlang#181 was to port the vscode_erlang grammar improvements to the shared repo, I don't think that was ever done. vscode_erlang simply switched to this repo, so it's very likely that some improvements got lost in the process.

It should be possible to diff the grammar that got removed [here| https://github.com/pgourlain/vscode_erlang/commit/27cbea3dde1b96ab399c1e6903f3d9f242293bc9] and port eventual improvements to this shared repo (and bump it in both pgourlain/vscode_erlang and erlang-ls/vscode).

@KornelH
Copy link

KornelH commented Jun 30, 2021

Current Erlang.plist has 2 small differences compared to the erlang.tmLanguage in pgourlain/vscode_erlang commit 6975d9a that I used to add syntax updates for OTP 23 and fix some highlighting glitches like spec lines, record definitions, etc. (see commits 921bb3e and db9ef8b.)

When my time will allow I will merge those updates here (unless somebody else is more eager to do it ;)). I still know about some additional issues in syntax highlighting but I'm not a pro of TextMate language files and Oniguruma regular expressions and unfortunately I couldn't fix those.

@KornelH
Copy link

KornelH commented Apr 16, 2024

If I'm right this issue was fixed by pull request #4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants