mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
27 lines
486 B
EmacsLisp
27 lines
486 B
EmacsLisp
;;; siren-nginx.el --- jimeh's Emacs Siren: nginx-mode configuration.
|
|
|
|
;;; Commentary:
|
|
|
|
;; Basic configuration for nginx-mode.
|
|
|
|
;;; Code:
|
|
|
|
(use-package nginx-mode
|
|
:hook
|
|
(nginx-mode . siren-nginx-mode-setup)
|
|
|
|
:custom
|
|
(nginx-indent-level 4)
|
|
(nginx-indent-tabs-mode nil)
|
|
|
|
:preface
|
|
(defun siren-nginx-mode-setup ()
|
|
(setq-local tab-width 4)))
|
|
|
|
(use-package company-nginx
|
|
:hook
|
|
(nginx-mode . company-nginx-keywords))
|
|
|
|
(provide 'siren-nginx)
|
|
;;; siren-nginx.el ends here
|