Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
purescript-indentation.el: don't modify buffer if indentation unchanged
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.
- Loading branch information