purescript-mode icon indicating copy to clipboard operation
purescript-mode copied to clipboard

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

Open Hi-Angel opened this issue 1 year ago • 1 comments

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 avatar Sep 12 '24 15:09 Hi-Angel

Ping?

Hi-Angel avatar Sep 20 '24 14:09 Hi-Angel

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 avatar Sep 30 '24 06:09 kritzcreek