zls
zls copied to clipboard
Gray out `@as()` calls to make them less distracting
From
To
@as
calls are very distracting with syntax highlighting, and because they don't really do anything, I find myself trying to filter them out in my head anyways.
this doesnt seem like something zls can control, it may provide highlighting but as far as im aware its provided in terms of mapping regions of code to types e.g. keyword vs function vs comment. the actual color is controlled by your editor/theme
i guess zls could identify calls to @as
as comments? that seems a little odd though, i cant imagine something like this would be too hard for someone to do themself with theming
I figured maybe it was possible to mark a region of code as “unimportant” or something. Though I think marking them as comments would be good as well.