Closed jasonhemann closed 1 year ago
This is intentional. You can adjust racket-xp-highlight-unused-regexp
to modify the behavior. See the documentation at https://racket-mode.com/#racket_002dxp_002dhighlight_002dunused_002dregexp
Yes, what @sorawee said.
One precedent for this convention: The Emacs Lisp byte compiler warns about unused variables, unless they're underscore prefixed. It can also be a nice hint for human readers.
I believe there's another precedent I can't recall right now.
Anyway it's an intentional feature, which you can change or disable via that customization variable.
Okay great thank you all
I open the following file in racket-mode.
Of those five identifiers, I see only the last three as having the
racket-xp-unused-face
applied. It's possible this is a feature, i'm not sure.