ziglang / zig.vim

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

Peculiar behavior with indentation and curly braces #88

Closed stefanos82 closed 1 year ago

stefanos82 commented 1 year ago

Take a look at this:

image

Now I will press Enter to expand my curly braces:

image

The workaround is the following:

image

Final result:

image

Quite peculiar, don't you think?

I could be wrong, but semicolon affects closing brace's behavior somehow :shrug: