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

zig-mode changes my font size #61

Closed
eldritchconundrum opened this issue Aug 7, 2021 · 1 comment · Fixed by #51
Closed

zig-mode changes my font size #61

eldritchconundrum opened this issue Aug 7, 2021 · 1 comment · Fixed by #51

Comments

@eldritchconundrum
Copy link

I use text-scale-increase to change my font size.
But every time I save a zig file, my font size gets reset...

@joachimschmidt557
Copy link
Member

Related: #49

The cause of this behaviour is that our current formatting code runs revert-buffer after running zig fmt to load the new file. That means that the text scale is reset after every save.

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.

2 participants