mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
feat(lang): Add nginx-mode and company-nginx packages
This commit is contained in:
26
modules/languages/siren-nginx.el
Normal file
26
modules/languages/siren-nginx.el
Normal file
@@ -0,0 +1,26 @@
|
||||
;;; 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)
|
||||
|
||||
:init
|
||||
(defun siren-nginx-mode-setup ()
|
||||
(setq tab-width 4)))
|
||||
|
||||
(use-package company-nginx
|
||||
:hook
|
||||
(nginx-mode . company-nginx-keywords))
|
||||
|
||||
(provide 'siren-nginx)
|
||||
;;; siren-nginx.el ends here
|
||||
Reference in New Issue
Block a user