aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2019-02-18 19:34:19 -0500
committerJesús <heckyel@hyperbola.info>2019-02-18 19:34:19 -0500
commit08e05e1e2186df06d5228e1f45e493b2f39dfa51 (patch)
tree9008c6c531c4920288922343c3a8ba0e2ba31685
parent0b74875daefd220811f65bcfbe99b2e05708bcd1 (diff)
downloademacs-personal-08e05e1e2186df06d5228e1f45e493b2f39dfa51.tar.lz
emacs-personal-08e05e1e2186df06d5228e1f45e493b2f39dfa51.tar.xz
emacs-personal-08e05e1e2186df06d5228e1f45e493b2f39dfa51.zip
added log4j-mode
-rw-r--r--custom.el2
-rw-r--r--init.el1
-rw-r--r--modules/init-log4j.el16
3 files changed, 18 insertions, 1 deletions
diff --git a/custom.el b/custom.el
index f713c4a..84cd162 100644
--- a/custom.el
+++ b/custom.el
@@ -11,7 +11,7 @@
'(ecb-options-version "2.50")
'(package-selected-packages
(quote
- (dokuwiki-mode web-mode rainbow-mode yaml-mode scss-mode sass-mode less-css-mode pkgbuild-mode pip-requirements jedi company-php php-mode php-refactor-mode markdown-mode crystal-mode git-timemachine gitattributes-mode gitignore-mode gitconfig-mode git-gutter-fringe nginx-mode emmet-mode whitespace-cleanup-mode helm flycheck apache-mode neotree shrink-path all-the-icons highlight-indent-guides anzu sml-modeline smart-mode-line-powerline-theme smart-mode-line ecb diminish undo-tree nlinum sublime-themes use-package))))
+ (log4j-mode yaml-mode whitespace-cleanup-mode web-mode use-package undo-tree sublime-themes sml-modeline smart-mode-line-powerline-theme shrink-path scss-mode sass-mode rainbow-mode pkgbuild-mode pip-requirements php-refactor-mode nlinum nginx-mode neotree markdown-mode less-css-mode jedi highlight-indent-guides helm gitignore-mode gitconfig-mode gitattributes-mode git-timemachine git-gutter-fringe flycheck emmet-mode ecb dokuwiki-mode diminish crystal-mode 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.
diff --git a/init.el b/init.el
index aad3714..ebdf1fa 100644
--- a/init.el
+++ b/init.el
@@ -48,6 +48,7 @@
(require 'init-apache nil 'noerror)
(require 'init-flycheck nil 'noerror)
(require 'init-helm nil 'noerror)
+(require 'init-log4j nil 'noerror)
(require 'init-whitespace nil 'noerror)
(require 'init-emmet-mode nil 'noerror)
(require 'init-nginx nil 'noerror)
diff --git a/modules/init-log4j.el b/modules/init-log4j.el
new file mode 100644
index 0000000..774e9a1
--- /dev/null
+++ b/modules/init-log4j.el
@@ -0,0 +1,16 @@
+;;; init-log4j.el --- .Emacs Configuration -*- lexical-binding: t -*-
+;;; Commentary:
+;;
+
+;;; Code:
+(use-package log4j-mode
+ :ensure t
+ :defer t
+ :mode ("\\.log\\'" . log4j-mode))
+
+(provide 'init-log4j)
+
+;; Local Variables:
+;; byte-compile-warnings: (not free-vars)
+;; End:
+;;; init-log4j.el ends here