ziglang / zig.vim

Vim configuration for Zig
MIT License
450 stars 57 forks source link

`orelse` does not have syntax highlighting. #52

Closed g-w1 closed 3 years ago

g-w1 commented 3 years ago

image I think it is a builtin kword and therefore should have different color.

haze commented 3 years ago

or, and, and orelse are grouped under zigComparatorWord, which is linked as being highlighted as Operator.

Since the official zig language reference lists these are actual keywords instead of operators (as there is a separate operator table), I think this should be changed. Addressing...