[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 10/10] gnu: Add emacs-web-mode.
From: |
David Thompson |
Subject: |
[PATCH 10/10] gnu: Add emacs-web-mode. |
Date: |
Wed, 1 Jun 2016 10:05:38 -0400 |
From: David Thompson <address@hidden>
* gnu/packages/emacs.scm (emacs-web-mode): New variable.
---
gnu/packages/emacs.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index bfa46c4..95e6bea 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -2000,3 +2000,26 @@ features were added by Marshall Vandegrift. As YAML and
Python share the fact
that indentation determines structure, this mode provides indentation and
indentation command behavior very similar to that of python-mode.")
(license license:gpl3+)))
+
+(define-public emacs-web-mode
+ (package
+ (name "emacs-web-mode")
+ (version "14")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://raw.githubusercontent.com/fxbois"
+ "/web-mode/v" version "/web-mode.el"))
+ (file-name (string-append "web-mode-" version ".el"))
+ (sha256
+ (base32
+ "086hik5fmxg3kx74qmransx9cz961qd22d4m6ah2dw6cwaj1s3s5"))))
+ (build-system emacs-build-system)
+ (synopsis "Major mode for editing web templates")
+ (description "Web-mode is an Emacs major mode for editing web templates
+aka HTML files embedding parts (CSS/JavaScript) and blocks (pre rendered by
+client/server side engines). Web-mode is compatible with many template
+engines: PHP, JSP, ASP, Django, Twig, Jinja, Mustache, ERB, FreeMarker,
+Velocity, Cheetah, Smarty, CTemplate, Mustache, Blade, ErlyDTL, Go Template,
+Dust.js, React/JSX, Angularjs, ejs, etc.")
+ (home-page "http://web-mode.org/")
+ (license license:gpl3+)))
--
2.8.3
- [PATCH 01/10] gnu: Add emacs-smex., David Thompson, 2016/06/01
- [PATCH 03/10] gnu: Add emacs-markdown-mode., David Thompson, 2016/06/01
- [PATCH 09/10] gnu: Add emacs-yaml-mode., David Thompson, 2016/06/01
- [PATCH 07/10] gnu: Add emacs-ido-completing-read+., David Thompson, 2016/06/01
- [PATCH 04/10] gnu: Add emacs-projectile., David Thompson, 2016/06/01
- [PATCH 05/10] gnu: Add emacs-elfeed., David Thompson, 2016/06/01
- [PATCH 02/10] gnu: Add emacs-js2-mode., David Thompson, 2016/06/01
- [PATCH 10/10] gnu: Add emacs-web-mode.,
David Thompson <=
- [PATCH 08/10] gnu: Add emacs-ido-ubiquitous., David Thompson, 2016/06/01
- [PATCH 06/10] gnu: Add emacs-rainbow-delimiters., David Thompson, 2016/06/01
- Re: [PATCH 01/10] gnu: Add emacs-smex., Alex Kost, 2016/06/02
Re: [PATCH 01/10] gnu: Add emacs-smex., Ludovic Courtès, 2016/06/03