Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Updates and bug fixes to puppet-mode.el
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.

* Add standard elisp library file headers and footer.
  • Loading branch information
Russ Allbery authored and cprice committed Feb 8, 2012
1 parent 891281f commit 142b249
Showing 1 changed file with 204 additions and 149 deletions.

0 comments on commit 142b249

Please sign in to comment.