[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 02/10] gnu: Add emacs-js2-mode.
From: |
David Thompson |
Subject: |
[PATCH 02/10] gnu: Add emacs-js2-mode. |
Date: |
Wed, 1 Jun 2016 10:05:30 -0400 |
From: David Thompson <address@hidden>
* gnu/packages/emacs.scm (emacs-js2-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 71f2f8b..cad843c 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -1817,3 +1817,26 @@ agree upon.")
convenient interface to your recently and most frequently used commands. And
to all the other commands, too.")
(license license:gpl3+)))
+
+(define-public emacs-js2-mode
+ (package
+ (name "emacs-js2-mode")
+ (version "20150909")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/mooz/js2-mode/archive/"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1nsm36c4kwb473p13i58fgrnlk8fbn3rdhj47d9xz70az4ra44q0"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/mooz/js2-mode/")
+ (synopsis "Improved JavaScript editing mode for Emacs")
+ (description
+ "Js2-mode provides a JavaScript major mode for Emacs that is more
+advanced than the built-in javascript-mode. Features include accurate syntax
+highlighting using a recursive-descent parser, on-the-fly reporting of syntax
+errors and strict-mode warnings, smart line-wrapping within comments and
+strings, and code folding.")
+ (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 <=
- [PATCH 10/10] gnu: Add emacs-web-mode., David Thompson, 2016/06/01
- [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