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

purescript-indentation.el: don't modify buffer if indentation unchanged #18

Merged

Conversation

Hi-Angel
Copy link
Contributor

Currently calling indentation on a line that is already indented as expected results in buffer being modified despite no changes being actually done. Avoid this by checking if current indentation already matches the one we just calculated and only reindenting on mismatch.

Currently calling indentation on a line that is already indented as
expected results in buffer being modified despite no changes being
actually done. Avoid this by checking if current indentation already
matches the one we just calculated and only reindenting on mismatch.
@Hi-Angel
Copy link
Contributor Author

Ping?

@kritzcreek
Copy link
Contributor

Hey I approved running the CI and see some failures in there. Do you think you could look into fixing them? I'm happy to press merge then. thanks!

@kritzcreek kritzcreek merged commit fbbbe60 into purescript-emacs:master Sep 30, 2024
5 of 10 checks passed
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 this pull request may close these issues.

2 participants