atom / language-go

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

Go not highlighted with tree-sitter #159

Closed chbk closed 6 years ago

chbk commented 6 years ago

Reopening #150 because the issue persists.

My syntax theme's css is structured like this:

.syntax--source {
    .syntax--keyword {
        color: green;
    }
}

When I enable the tree-sitter parser, the scope looks okay:

However, nothing is highlighted in the go file. All text is white.

I don't have this problem with other languages. In javascript, every line is encapsulated in a language specific span: b

That isn't the case with go: c

Versions

Atom : 1.32.1 Electron: 2.0.9 Chrome : 61.0.3163.100 Node : 8.9.3