summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrian Leung <bkleung89@gmail.com>2019-04-13 01:11:00 +0200
committerLudovic Courtès <ludo@gnu.org>2019-04-14 17:42:10 +0200
commite395359b955abb78ebdd819a70a2614a9416009f (patch)
tree21f721a37f9c4f7b9556a9b44e32aa3175e8c82c
parente626d7ee8fb8a7b624b01882b009185dafc0fad5 (diff)
downloadguix-e395359b955abb78ebdd819a70a2614a9416009f.tar.gz
gnu: Add emacs-dotenv-mode.
* gnu/packages/emacs-xyz.scm (emacs-dotenv-mode): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/emacs-xyz.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 648cdcb08b..99270e4b4e 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -14762,6 +14762,27 @@ url-encoded parameters, as well as web sockets.")
 files, and sends rendered Markdown to a web browser.")
     (license license:gpl3+)))
 
+(define-public emacs-dotenv-mode
+  (package
+    (name "emacs-dotenv-mode")
+    (version "0.2.4")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/preetpalS/emacs-dotenv-mode")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1fplkhxnsgdrg10iqsmw162zny2idz4vvv35spsb9j0hsk8imclc"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/preetpalS/emacs-dotenv-mode")
+    (synopsis "Major mode for @file{.env} files")
+    (description "This package provides syntax highlighting for @file{.env}
+files.")
+    (license license:gpl3+)))
+
 (define-public emacs-semantic-refactor
   ;; The last release, 0.5, was made on 2015-07-26 and there have been 47
   ;; commits since then.