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

Discussion/Feature: highlight unused function argument as comment #6

Open
Simerax opened this issue Mar 8, 2021 · 1 comment
Open

Comments

@Simerax
Copy link

Simerax commented Mar 8, 2021

Since gleam supports prefixing an argument with underscore to mark it as unused it would be nice if the variable was highlighted like a comment.
The Elixir plugin vim-elixir does exactly that.

I hacked something together with my non existing vim regex skills:
Bildschirmfoto vom 2021-03-08 19-26-52
Bildschirmfoto vom 2021-03-08 19-27-17

What's the general opinion on this?

@lpil
Copy link
Member

lpil commented Mar 8, 2021

Sounds good to me!

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

Successfully merging a pull request may close this issue.

2 participants