atom / language-go

Go language package for Atom
Other
106 stars 65 forks source link

Package variables and types missing syntax highlights #161

Open ramya-rao-a opened 6 years ago

ramya-rao-a commented 6 years ago

Left is from VS Code which uses the latest grammars/go.cson from this project. Right is Atom which I believe is using the tree-sitter version.

The package variables and types are having the scopes source.go when using grammars/go.cson

Torniojaws commented 5 years ago

It appears to be broken for more than just them. Here's how it looks like with the latest Atom (1.37.0) and with language-go version 0.46.6:

Without Tree Sitter Parser: image

With Tree Sitter Parser enabled: image

And anything you add after the route part will be missing all syntax highlighting.