Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/voxpupuli/puppet-mode

Edit Puppet manifests with GNU Emacs 24
https://github.com/voxpupuli/puppet-mode

Enable lexical binding

a6c1de8d9c991ddff050be28a42e0f0de9fc6e9a authored almost 11 years ago by Sebastian Wiesner <[email protected]>
Require Emacs 24.1, drop Emacs 23 support [#22]

db0993ba4bb0128173d6a703a299d5e0361e86ca authored almost 11 years ago by Sebastian Wiesner <[email protected]>
Don't override highlights for negation

388e1045c228e5329897bd7a507ed3bb790a0ad5 authored almost 11 years ago by Sebastian Wiesner <[email protected]>
Don't override highlights for metaparameters

5db745d147417e955cf8e341509e779bdc0aa265 authored almost 11 years ago by Sebastian Wiesner <[email protected]>
Put built-in functions last

We should not highlight built-in functions at other places

ad765bad5c8f3933917892ceee4c8cbf2f8ff1bf authored almost 11 years ago by Sebastian Wiesner <[email protected]>
Merge branch 'master' of github.com:lunaryorn/puppet-mode

* 'master' of github.com:lunaryorn/puppet-mode:
Highlight contain function

Conflicts:
puppet...

17fcafbd5eb993ca7fbfc506b5f70d636a35363b authored almost 11 years ago by Sebastian Wiesner <[email protected]>
Rework font lock

Use regular expressions as given in the official documentation, and
update the list of keywords ...

dc368dfaa3c54ba9cc11110b766509e0618fa528 authored almost 11 years ago by Sebastian Wiesner <[email protected]>
Fix the syntax table

Remove superfluous entries, which are duplicated from prog-mode's syntax
table, and fix the synt...

fca1bc0afa3d7be67807aec9048c7ae42a7579b5 authored almost 11 years ago by Sebastian Wiesner <[email protected]>
Merge pull request #17 from uu1101/patch-1

Highlight contain function

bd491ff754786b2eb3ecc92dbfa6e5c72691cfe0 authored almost 11 years ago by Bozhidar Batsov <[email protected]>
Highlight contain function

See http://docs.puppetlabs.com/puppet/latest/reference/lang_containment.html#in-puppet-340-and-l...

6f3b361cda891b626de991864c526ab984392009 authored almost 11 years ago by uu1101 <[email protected]>
Anchor keywords to symbol boundaries for font lock

ce3e83a6165cec6b9f25831a6418b0ff736db151 authored almost 11 years ago by Sebastian Wiesner <[email protected]>
Fix the syntax table

_ is a symbol constituent in Puppet, and - is punctuation

12a7c18b7ad81b58e1e12b12ed3624f3f3fc2424 authored almost 11 years ago by Sebastian Wiesner <[email protected]>
Remove unused variable

1154c83ab67b8f77b5626ea65ec4a4426d55bf19 authored almost 11 years ago by Sebastian Wiesner <[email protected]>
Use setq for buffer-local variables

29302c8bd58fc1de3be8a5aa5d96905493cf6b95 authored almost 11 years ago by Sebastian Wiesner <[email protected]>
Add align rule for resources

ac003672a787fade053a319130708e986e56dd4a authored almost 11 years ago by Sebastian Wiesner <[email protected]>
Update copyright year

a2102f353f20ff5b10ddfd0906fad3e4135d0d95 authored almost 11 years ago by Sebastian Wiesner <[email protected]>
Merge pull request #12 from lunaryorn/font-lock-fixup

The great font lock fixup

04589f7c9832621959cd9701ceb99332910af69c authored almost 11 years ago by Bozhidar Batsov <[email protected]>
Use a more efficient regex for keywords

Use regexp-opt to generate the regex to match keywords instead of
building it up by hand. The ge...

6f00da23b966346a8456a21a48521298f2f2dc88 authored over 11 years ago by Christopher Grim <[email protected]>
Mark custom variables as safe

18d9d24ec229e7dcbbd3f71e010652dc45adf149 authored over 11 years ago by Sebastian Wiesner <[email protected]>
Don't mess around with font-lock faces

Geez!

2af39cc31f575ffea3eaf6b9cb316072d8ec8332 authored over 11 years ago by Sebastian Wiesner <[email protected]>
Simplify local variable assignments

8baf5f68f0223f8b677732bdf69a4d7151e6a26b authored over 11 years ago by Sebastian Wiesner <[email protected]>
Remove explicit abbrev table definition

`define-derived-mode` creates that one for us.

c15028540a94e04a823a2aafc9174f887669ed46 authored over 11 years ago by Sebastian Wiesner <[email protected]>
Remove Emacs 22 compatibility code

60fe36b327e26fe9412fbc8d68f308561f87415e authored over 11 years ago by Sebastian Wiesner <[email protected]>
Bring the customization interface into decent state

Add the actual group definition and remove old-style user variable
markers.

b68a6e4c228e859c45d655ae776b7684b4f7303a authored over 11 years ago by Sebastian Wiesner <[email protected]>
Put definitions into logical order

af14ccecfbf2fd40190e528246b6ba2220a707dc authored over 11 years ago by Sebastian Wiesner <[email protected]>
Fix order of copyright statements

de427d55c4c0205feabaa7774351e1154de782a8 authored over 11 years ago by Sebastian Wiesner <[email protected]>
Delete superfluous bindings [#8]

0ce28331ce9ad7984defcb0545722c1815bd90cc authored over 11 years ago by Sebastian Wiesner <[email protected]>
Add URL header

3fec45282f43ee6c7a55c59a6652af6e53d2c12f authored over 11 years ago by Sebastian Wiesner <[email protected]>
[Fix #2] Turn into a derived-mode

3330bf854674cb884608b47d718bce6ba25459f2 authored over 11 years ago by Bozhidar Batsov <[email protected]>
[Fix #6] Add a basic README

8d68126a2a5ba26224e30343da4d7c6686d39f1e authored over 11 years ago by Bozhidar Batsov <[email protected]>
Replace CONTRIBUTING.md (fixes #1)

52dfcb2c445f281a7ee264110fd367d02caf7bb1 authored over 11 years ago by Bozhidar Batsov <[email protected]>
Remove superfluous version constant

We have package headers

5eb7d3e2901890a46dd193d6f1d367d0c685d466 authored over 11 years ago by Sebastian Wiesner <[email protected]>
Fix automode regexp

037d6e38d17e5f83aaa7ea7c395637af501e4a42 authored over 11 years ago by Sebastian Wiesner <[email protected]>
Fix autoloads

We let package.el deal with these, so the init file is superfluous.

b4d61aaf7295dd087bcd2175fc184b58e749e403 authored over 11 years ago by Sebastian Wiesner <[email protected]>
Update header and footer

Follow package.el conventions, announce new maintainers, etc.

7c44fa53fb4217b5d4f248af3977f20b5d76e594 authored over 11 years ago by Sebastian Wiesner <[email protected]>
[Fix #3] Change license to GPL-3

Take care to preserve the original copyright notice of the major mode,
as required by the terms ...

0fb8cd4881545378bd69861551a810d3322af324 authored over 11 years ago by Sebastian Wiesner <[email protected]>
Add CONTRIBUTING.md, and LICENSE files lost separating from puppet repo

Since the history included from the puppet repository was only that
affecting the ext/emacs dire...

9dee1e4a9b3a0badee09c247679ef9d2b5eee71c authored over 11 years ago by Jacob Helwig <[email protected]>
add proper library header

2acceb60126964933ff15fdf23c2400fbbd5cc96 authored over 11 years ago by Jonas Bernoulli <[email protected]>
Removed extra whitespace from end of lines

7cc01505270bf49ff2b09cc3ec37b0ce1f6b48d8 authored over 15 years ago by Ian Taylor <[email protected]>
Fixed #1840 - Bug fixes and improvements for Emacs puppet-mode.el

f608a2cd7343eea8387ed1832228ffd94057b020 authored about 16 years ago by James Turnbull <[email protected]>
Fixed #1767 - Minor fix to emacs mode

eec674509437193b2929b1d210b0413b8b6cd0f2 authored about 16 years ago by James Turnbull <[email protected]>
Further Emacs puppet-mode fixes

More correctly handle indentation of lines enclosed in [] when the
contents themselves contain [...

2e9b2fbb4d46e11ae7448106c97f33a28691257a authored over 16 years ago by Russ Allbery <[email protected]>
Fix Emacs mode indentation of multiple nested blocks

Indentation of multiple nested blocks was broken; the closing braces
of all the outer blocks wer...

12b6263b2d93dc8ec5d7ae5f5410a9dece40c82a authored over 16 years ago by Russ Allbery <[email protected]>
Enhancements to syntax highlighting and indentation for Emacs

More correctly handle multiple resources in a block, such as:

type {
"name":
attr =...

d98db85a198e1460f6496f1c73e2b86c91c94c67 authored over 16 years ago by Russ Allbery <[email protected]>
Use our own count-matches for Emacs 21 compatibility

Replace count-matches with a puppet-count-matches function that does
the same as the Emacs 22 co...

195fca333f86270842304a1a3a5a5e9a94ccaf54 authored over 16 years ago by Russ Allbery <[email protected]>
Additional fix for emacs syntax for ticket #1160

82f9db126118b1898725e3d31145a6aea390fb3d authored almost 17 years ago by James Turnbull <[email protected]>
Revert "Additional fix to emacs for ticket #1160"

This reverts commit bb65226e54d5e476581118e7c2c5e42275a6b290.

5ff6ff8aacf355024f6ff760603e1f2ce6e4410b authored almost 17 years ago by James Turnbull <[email protected]>
Additional fix to emacs for ticket #1160

da5f6b63c88bc73c5dfbd1b43876a8b4b6e51065 authored almost 17 years ago by James Turnbull <[email protected]>
Committed patch from #1160

55809a53287c7855e95e59ce896124f11e3241f6 authored almost 17 years ago by James Turnbull <[email protected]>
* puppet/ext/emacs/puppet-mode.el (puppet-indent-line): Be more sophisticated about what we do at the beginning of the buffer, so that the first expression after an block-opening statement that happens to begin at the beginning of the buffer gets indented correctly. This may need some cleanup, but I wanted to get the correct behavior committed first.

Reported by: Micah Anderson
(Who again supplied the reproduction case.)

c1ba4baf5f52bf73b18e9153b1e655623173a7dd authored almost 17 years ago by Karl Fogel <[email protected]>
* puppet/ext/emacs/puppet-mode.el (puppet-indent-line): Clean up the code somewhat after commit 738d275f41f3eaf015800021dd2dfe6c42a1ae79, as promised.

43ae7eb90ee5cd2af5aa381ffe65e8279c82b21f authored almost 17 years ago by Karl Fogel <[email protected]>
* 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 th...

3cea4d4b53290d1b2f97627a29c346772750aa2c authored almost 17 years ago by Karl Fogel <[email protected]>
Fix bug mentioned in commit f814e23eab140ad01df4a4a3b187fcbf20da02be:

* puppet/ext/emacs/puppet-mode.el
(puppet-indent-line): When iterating backwards, test for
...

ea435c46b4ea15bae73d45edb340b7cb5b4f97ff authored almost 17 years ago by Karl Fogel <[email protected]>
* ext/emacs/puppet-mode.el: Untabify, in preparation for substantive changes.

a0929573a28fd2f1891f3589d208edec4ea5315e authored almost 17 years ago by Karl Fogel <[email protected]>
Minor cleanup, leave cursor at beginning of indented line, not its end

git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2065 980ebf18-57e1-0310-9a29-db15c13687c0

05a224e0c5be3cfd36a5c6e4a3e41afd237b05f8 authored about 18 years ago by lutter <lutter@980ebf18-57e1-0310-9a29-db15c13687c0>
Add indentation written by Mario Martelli

git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2064 980ebf18-57e1-0310-9a29-db15c13687c0

3c00fac2d659aeb895bf016c405d5869cfdcb792 authored about 18 years ago by lutter <lutter@980ebf18-57e1-0310-9a29-db15c13687c0>
Simple emacs mode for editing manifests; only does pretty colors right now

git-svn-id: https://reductivelabs.com/svn/puppet/trunk@874 980ebf18-57e1-0310-9a29-db15c13687c0

aa1dfaf13202ee27e757d7f875ea7e5f325b71d5 authored almost 19 years ago by lutter <lutter@980ebf18-57e1-0310-9a29-db15c13687c0>