Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

odinfmt deletes imports that are at the very bottom of the file #486

Closed
beaumccartney opened this issue Aug 22, 2024 · 0 comments · Fixed by #493
Closed

odinfmt deletes imports that are at the very bottom of the file #486

beaumccartney opened this issue Aug 22, 2024 · 0 comments · Fixed by #493

Comments

@beaumccartney
Copy link

to repro, add some imports at the bottom of an odin file and format it

e.g. I can repro with https://github.com/odin-lang/Odin/blob/master/vendor/glfw/wrapper.odin, I just copied the imports at the top, pasted them below everything else and ran odinfmt wrapper.odin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant