Added 'dotenv-mode'

An Emacs mode for .env files that includes the following features
This commit is contained in:
Jesús 2019-09-10 12:43:31 -05:00
parent aadca913ea
commit ebf8bb77cb
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766
3 changed files with 14 additions and 1 deletions

View File

@ -11,7 +11,7 @@
'(ecb-options-version "2.50")
'(package-selected-packages
(quote
(git-gutter-fringe yaml-mode whitespace-cleanup-mode web-mode vue-mode use-package undo-tree sublime-themes sml-modeline smartparens smart-mode-line-powerline-theme shrink-path sass-mode rjsx-mode rainbow-mode py-autopep8 projectile pkgbuild-mode pip-requirements php-refactor-mode nlinum nginx-mode neotree markdown-mode log4j-mode less-css-mode json-mode js2-refactor ivy-rich ivy-hydra highlight-indent-guides gitignore-mode gitconfig-mode gitattributes-mode git-timemachine flycheck eslintd-fix emmet-mode elpy ecb dokuwiki-mode diminish crystal-mode counsel company-quickhelp company-php apache-mode anzu all-the-icons))))
(git-gutter-fringe yaml-mode whitespace-cleanup-mode which-key web-mode vue-mode use-package undo-tree sublime-themes sml-modeline smartparens smart-mode-line-powerline-theme shrink-path sass-mode rjsx-mode rainbow-mode py-autopep8 projectile pkgbuild-mode pip-requirements php-refactor-mode nlinum nginx-mode neotree markdown-mode log4j-mode less-css-mode json-mode js2-refactor ivy-rich ivy-hydra highlight-indent-guides gitignore-mode gitconfig-mode gitattributes-mode git-timemachine flycheck eslintd-fix emmet-mode elpy ecb dotenv-mode dokuwiki-mode diminish crystal-mode counsel company-quickhelp company-php apache-mode anzu all-the-icons))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.

View File

@ -113,6 +113,7 @@
;; Plus
(require 'init-rainbow)
(require 'init-web-mode)
(require 'init-dotenv)
(require 'init-dokuwiki))
;;; Custom variables

12
modules/init-dotenv.el Normal file
View File

@ -0,0 +1,12 @@
;;; init-dotenv.el --- .Emacs Configuration -*- lexical-binding: t -*-
;;; Commentary:
;;
;;; Code:
;; dotenv-mode
(use-package dotenv-mode
:pin "MELPA"
:mode ("\\.env\\'" . dotenv-mode))
(provide 'init-dotenv)
;;; init-dotenv.el ends here