zig.vim
zig.vim copied to clipboard
Fixing indentation on empty brackets with trailing comma/colon (issue #42)
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.
~~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...