Skip to content

Highlight "nil" with the same color as the one used for other builtin types #1576

@dlsniper

Description

@dlsniper

Should we highlight nil with the same color as the other built in types?
According to go's builtin.go file, nil is a var and we highlight it as such, but sometimes, reading the code, it's not that clear (my mind always try to see it as a builtin / color even).

I guess, an even better question would be if we should highlight the builtin types with a different color altogether.

I can work on this as I'm familiar with that part of the code but I want to have some input before doing so. What are other people thinking about this?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions