Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Package variables and types missing syntax highlights #161

Open
ramya-rao-a opened this issue Nov 4, 2018 · 1 comment
Open

Package variables and types missing syntax highlights #161

ramya-rao-a opened this issue Nov 4, 2018 · 1 comment

Comments

@ramya-rao-a
Copy link

ramya-rao-a commented Nov 4, 2018

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
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants