Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/smoeding/epp-mode
Major mode for editing Embedded Puppet (EPP) templates
https://github.com/smoeding/epp-mode
emacs-lisp epp puppet
Last synced: about 2 months ago
JSON representation
Major mode for editing Embedded Puppet (EPP) templates
- Host: GitHub
- URL: https://github.com/smoeding/epp-mode
- Owner: smoeding
- License: bsd-2-clause
- Created: 2022-12-17T15:23:57.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-23T09:17:15.000Z (about 2 years ago)
- Last Synced: 2024-10-31T04:05:20.492Z (3 months ago)
- Topics: emacs-lisp, epp, puppet
- Language: Emacs Lisp
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Major mode for EPP templates
This Emacs major mode can be used to edit Embedded Puppet (EPP) templates. This minimalist mode only uses a single face to emphasize the template code between `<%` and `%>`. That's it.
# Usage
Copy `epp-mode.el` into a directory included in your `load-path`. Optionally you can byte-compile the file. Add the following code to your init file to use this mode for all files with the `epp` file extension.
``` emacs-lisp
(require 'epp-mode)
(add-to-list 'auto-mode-alist '("\\.epp\\'" . epp-mode))
```