zig.vim icon indicating copy to clipboard operation
zig.vim copied to clipboard

Fixing indentation on empty brackets with trailing comma/colon (issue #42)

Open yohannd1 opened this issue 3 years ago • 1 comments

An attempt on fixing what https://github.com/ziglang/zig.vim/issues/42 reports.

I'm not yet sure if this fully fixes the issue. I'll be testing it more on the following days and will report any issue I find.

yohannd1 avatar Jun 13 '21 20:06 yohannd1

~~Hey @YohananDiamond, I may have encountered a similar issue:~~

before I hit enter

after I hit enter

With the changes in this PR I was not able to see a change D:

EDIT: I figured out that this was my tree sitter plugin messing with the indentation! sorry for the false alarm...

haze avatar Jul 24 '21 16:07 haze