zigtools / zls-vscode

Deprecated, please use https://github.com/ziglang/vscode-zig
https://github.com/ziglang/vscode-zig
MIT License
85 stars 15 forks source link

No syntax highlighting on fresh install #15

Closed kazimuth closed 2 years ago

kazimuth commented 4 years ago

Hey, I just installed zig master (2020-10-20) and zls-vscode, and while zls seems to connect successfully and completions etc work, there's no syntax highlighting at all:

hmm

However, if I override "editor.semanticHighlighting.enabled" in my user settings to be true rather than "configuredByTheme" (the default), syntax highlighting works perfectly.

SERWare commented 3 years ago

Hey, I just installed zig master (2020-10-20) and zls-vscode, and while zls seems to connect successfully and completions etc work, there's no syntax highlighting at all:

hmm

However, if I override "editor.semanticHighlighting.enabled" in my user settings to be true rather than "configuredByTheme" (the default), syntax highlighting works perfectly.

The same thing happened to me and it was solved this way.

Thanks.

emptydiagram commented 3 years ago

I'm experiencing the same issue, except that setting editor.semanticHighlighting.enabled = true doesn't fix it.

BLucky-gh commented 2 years ago

I'm experiencing the same issue, except that setting editor.semanticHighlighting.enabled = true doesn't fix it.

same here

SuperAuguste commented 2 years ago

Semantic highlighting needs to be enabled in-editor and within zls itself too.

BLucky-gh commented 2 years ago

Semantic highlighting needs to be enabled in-editor and within zls itself too. I don't know about the others, but I definitely did have semantic highlighting enabled both in editor and zls, though this is an old issue and I don't even remember if I ever fixed it for myself because this was half a year ago.