puppetlabs / puppet-syntax-emacs

Puppet language syntax highlighting for Emacs
Other
25 stars 17 forks source link

Make cursor slightly better behaved when indenting #15

Closed ilikejam closed 5 years ago

ilikejam commented 9 years ago

save-excursion earlier to keep cursor still (instead of jumpting to the indent every time) Jump cursor to the end of whitespace-only lines after indent. Jump cursor to first non-whitespace char if the cursor was in the indent region. Behaves similarly to shell-script-mode when indenting interactively - no surprises when closing braces, for example.

puppetcla commented 8 years ago

CLA signed by all contributors.

ahpook commented 5 years ago

superseded by voxpupuli/puppet-mode