ziglang / zig.vim

Vim configuration for Zig
MIT License
448 stars 56 forks source link

Quotation marks have a different color from the rest of string literals #64

Closed rsaihe closed 2 years ago

rsaihe commented 2 years ago

For example, in a simple hello world program:

Screenshot from 2021-09-24 10-43-14

matu3ba commented 2 years ago

You dont show a screenshot of the change.

I am curious: How does this improve readability?

Is " not a delimiter for beginning and end of string, which could be colored different for consistency?

rsaihe commented 2 years ago

Every other syntax highlighting displays the quotation marks with the same color as the text they enclose. My change makes this plugin consistent with the highlighting for every other language.

rsaihe commented 2 years ago

Unfortunately my current operating system is having some issues taking screenshots at this time, so I cannot attach one.