Sublime Forum

Golang syntax treats some keywords as storage types

#1

I’m just wondering why is this? VS Code treats keywords properly while the syntax provided with ST3 treats a lot of keywords as storage types (e.g. func, interface, chan, type, interface etc.). In my theme keywords should be in bold while storage types, built in functions in italic in both VS Code and ST3. Here is a picture with the differences.

0 Likes

#2

you may want to try the updated syntax definition from this PR:

and give feedback on it there, if you like it, there is perhaps a higher chance of it being merged soon

0 Likes