Create layer 'apache' (#15812)
* Create layer 'apache' * Replace 'nginx' with 'apache'
This commit is contained in:
parent
deae8d59e1
commit
7881e45768
|
@ -0,0 +1,22 @@
|
|||
#+TITLE: apache layer
|
||||
|
||||
#+TAGS: layer|tool
|
||||
|
||||
[[file:img/apache.png]]
|
||||
|
||||
* Table of Contents :TOC_5_gh:noexport:
|
||||
- [[#description][Description]]
|
||||
- [[#features][Features:]]
|
||||
- [[#install][Install]]
|
||||
|
||||
* Description
|
||||
This layer adds support for configuring the [[https://httpd.apache.org/][Apache]] web server.
|
||||
|
||||
** Features:
|
||||
- Syntax highlighting of apache configuration files via [[https://github.com/emacs-php/apache-mode][apache-mode]].
|
||||
- Syntax-aware indentation
|
||||
|
||||
* Install
|
||||
To use this configuration layer, add it to your =~/.spacemacs=. You will need to
|
||||
add =apache= to the existing =dotspacemacs-configuration-layers= list in this
|
||||
file.
|
Binary file not shown.
After Width: | Height: | Size: 19 KiB |
|
@ -0,0 +1,27 @@
|
|||
;;; packages.el --- apache layer packages file for Spacemacs.
|
||||
;;
|
||||
;; Copyright (c) 2012-2022 Sylvain Benner & Contributors
|
||||
;;
|
||||
;; Author: Nathaniel Waisbrot <code@waisbrot.net>
|
||||
;; URL: https://github.com/syl20bnr/spacemacs
|
||||
;;
|
||||
;; This file is not part of GNU Emacs.
|
||||
;;
|
||||
;; This program is free software; you can redistribute it and/or modify
|
||||
;; it under the terms of the GNU General Public License as published by
|
||||
;; the Free Software Foundation, either version 3 of the License, or
|
||||
;; (at your option) any later version.
|
||||
;;
|
||||
;; This program is distributed in the hope that it will be useful,
|
||||
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
;; GNU General Public License for more details.
|
||||
;;
|
||||
;; You should have received a copy of the GNU General Public License
|
||||
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
(defconst apache-packages '(apache-mode))
|
||||
|
||||
(defun apache/init-apache-mode()
|
||||
(use-package apache-mode :defer t))
|
Loading…
Reference in New Issue