voxpupuli / puppet-mode

Edit Puppet manifests with GNU Emacs 24
https://github.com/voxpupuli/puppet-mode
GNU General Public License v3.0
90 stars 60 forks source link

Prevent comments from changing indentation level #105

Closed paran1 closed 6 years ago

paran1 commented 7 years ago

Prevent } and ; at the end of commented out lines from decreasing the indentation level, and { from increasing it.

paran1 commented 7 years ago

Checks only failed because one travis job failed to download packages from elpa. Somebody with access should be able to restart the job on travis.

paran1 commented 7 years ago

git does a rather poor job of merging this and #104 at the same time due to conflicts in puppet-mode-test.el. In my local repo I have them merged so I can update this pull request quickly if #104 is merged, or the other way around.

I didn't wan't want to send it together in a single pull request as the changes are unrelated. Let me know if you don't agree with this.

paran1 commented 6 years ago

No longer convinced this is the correct fix. This used to work before a5d1a39d1757f3a4d9db8ae8378de418741df9a5, so maybe there is a much simpler bug in there somewhere.