Feature #12437

Update of puppet-mode.el

Added by Russ Allbery 4 months ago. Updated 3 months ago.

Status:Merged - Pending Release Start date:02/04/2012
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
Affected Puppet version: Branch:https://github.com/puppetlabs/puppet/commit/142b249f48204e3ac4e199a000a2c10236fda68a
Keywords:
Votes: 0

Description

A jumbo update for the Puppet Emacs mode. This update does the following:

  • Fix indentation of array contents when the first element of the array isn’t on the same line as the opening of the array.

  • Fix indentation of the else and elsif line and after a “) {” line that ends the parameters to a define and starts the body of the define.

  • Indenting a line no longer moves the point to the position following the indentation unless the line is entirely whitespace.

  • Update font lock keywords with all the latest Puppet keywords.

  • The type face is now used properly for all resource types. Previously, some of them would show up as the keyword face because they were also keywords. puppet-mode is now smarter about figuring out the context.

  • regexp-opt is now used to make keyword matching more efficient.

  • Clean up unnecessarily-complex code and refactor somewhat.

0001-Updates-and-bug-fixes-to-puppet-mode.el.patch (15.7 kB) Russ Allbery, 02/04/2012 09:51 pm

History

Updated by Chris Price 3 months ago

  • Status changed from Unreviewed to Merged - Pending Release
  • Branch set to https://github.com/puppetlabs/puppet/commit/142b249f48204e3ac4e199a000a2c10236fda68a

Thanks!

Also available in: Atom PDF