Create layer 'apache' (#15812)

* Create layer 'apache'

* Replace 'nginx' with 'apache'
This commit is contained in:
G Derber 2022-11-26 01:12:29 -05:00 committed by GitHub
parent deae8d59e1
commit 7881e45768
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 49 additions and 0 deletions

View File

@ -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

View File

@ -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))