summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/diff.rb
diff options
context:
space:
mode:
authorKarl Fogel <kfogel@red-bean.com>2008-01-19 10:25:14 -0500
committerLuke Kanies <luke@madstop.com>2008-03-20 11:45:55 -0500
commit751405733c19236d279e778ac467d8b265697128 (patch)
tree46a1b5ef20e9708a94a68889ac84299848dc4e63 /lib/puppet/util/diff.rb
parent40a389ab0fe7f954edd6adb5c1bbfa477ef5ef5c (diff)
downloadpuppet-751405733c19236d279e778ac467d8b265697128.tar.gz
puppet-751405733c19236d279e778ac467d8b265697128.tar.xz
puppet-751405733c19236d279e778ac467d8b265697128.zip
* ext/emacs/puppet-mode.el (puppet-comment-line-p, puppet-in-array): New helper functions. (puppet-indent-line): Rewrite to handle three more situations: indent elements in an array, indent single-line blocks, and ignore previous comment content when indenting non-comment lines.
Suggested by: Micah Anderson (He also provided the test data.) Notes: Michah points out that this change may have introduced an infinite loop (he can cause Emacs to hang now). Will investigate and fix in a separate change.
Diffstat (limited to 'lib/puppet/util/diff.rb')
0 files changed, 0 insertions, 0 deletions