aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2019-01-31 18:09:54 -0500
committerJesús <heckyel@hyperbola.info>2019-01-31 18:09:54 -0500
commit28e9695a24ecb8d2e5f048c18c3ad768d3bee639 (patch)
tree796e5de73dba05466fb333cfd7e2ad0781acf3f3
parent7a1c4a38c3608aeda5992adb30e7cd9bd39bc36a (diff)
downloademacs-personal-28e9695a24ecb8d2e5f048c18c3ad768d3bee639.tar.lz
emacs-personal-28e9695a24ecb8d2e5f048c18c3ad768d3bee639.tar.xz
emacs-personal-28e9695a24ecb8d2e5f048c18c3ad768d3bee639.zip
Added apache-mode
-rw-r--r--custom.el2
-rw-r--r--init.el1
-rw-r--r--modules/init-apache.el20
3 files changed, 22 insertions, 1 deletions
diff --git a/custom.el b/custom.el
index d759b67..7b9cf66 100644
--- a/custom.el
+++ b/custom.el
@@ -11,7 +11,7 @@
'(ecb-options-version "2.50")
'(package-selected-packages
(quote
- (editorconfig yaml-mode whitespace-cleanup-mode web-mode vlf 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 gitignore-mode gitconfig-mode gitattributes-mode git-timemachine git-gutter-fringe flycheck emmet-mode ecb dokuwiki-mode diminish crystal-mode company-php bug-hunter anzu all-the-icons))))
+ (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 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))))
(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 f8d6aef..0c1b212 100644
--- a/init.el
+++ b/init.el
@@ -45,6 +45,7 @@
(require 'init-icons nil 'noerror)
(require 'init-neotree nil 'noerror)
;; Tools
+(require 'init-apache nil 'noerror)
(require 'init-flycheck nil 'noerror)
(require 'init-whitespace nil 'noerror)
(require 'init-emmet-mode nil 'noerror)
diff --git a/modules/init-apache.el b/modules/init-apache.el
new file mode 100644
index 0000000..c022cd3
--- /dev/null
+++ b/modules/init-apache.el
@@ -0,0 +1,20 @@
+;;; init-apache.el --- .Emacs Configuration -*- lexical-binding: t -*-
+;;; Commentary:
+;;
+
+;;; Code:
+;;---------------------------
+;; Apache Mode
+;;---------------------------
+(use-package apache-mode
+ :mode
+ ("\\.htaccess\\'" . apache-mode)
+ ("httpd\\.conf\\'" . apache-mode)
+ ("srm\\.conf\\'" . apache-mode)
+ ("access\\.conf\\'" . apache-mode)
+ ("sites-\\(available\\|enabled\\)/" . apache-mode))
+
+(provide 'init-apache)
+
+;; End:
+;;; init-apache.el ends here