Closed Ben3eeE closed 6 years ago
I pushed an update to tree-sitter-go
that addresses some issues:
default
node, so default
in switch statements should get colored.true
and false
nodesNice, yeah it seems like we have this problem in other languages as well. The %
. Like in Python {}
is not highlighted in a string /cc: https://github.com/atom/language-python/issues/281#issuecomment-434022848
TODO
default
in this program does not get parsed with an anonymous node and is not highlightedtrue
andfalse
is not highlighted. They areconstant.language.go
in textmate%
part ofinterpreted_string_literal
is not highlighted differently. It'sconstant.other.placeholder.go
in textmate:textmate: tree-sitter:
Changes
go
askeyword.control
imaginary_literal
asconstant.numeric.integer
float_literal
asconstant.numeric.float
keyword.operator
/cc: @maxbrunsfeld