Added major mode for editing nginx config files

This commit is contained in:
Jesús 2018-10-04 12:26:41 -05:00
parent c4ed81a9a8
commit bff67e0c33
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766
3 changed files with 10 additions and 1 deletions

View File

@ -12,7 +12,7 @@
'(ecb-options-version "2.50")
'(package-selected-packages
(quote
(all-the-icons neotree emmet-mode ecb undo-tree pip-requirements jedi highlight-indent-guides yaml-mode whitespace-cleanup-mode sublime-themes sml-modeline smarty-mode smart-mode-line-powerline-theme scss-mode sass-mode rainbow-mode prettier-js pkgbuild-mode pcre2el nlinum markdown-mode less-css-mode flycheck editorconfig anzu ac-php))))
(nginx-mode all-the-icons neotree emmet-mode ecb undo-tree pip-requirements jedi highlight-indent-guides yaml-mode whitespace-cleanup-mode sublime-themes sml-modeline smarty-mode smart-mode-line-powerline-theme scss-mode sass-mode rainbow-mode prettier-js pkgbuild-mode pcre2el nlinum markdown-mode less-css-mode flycheck editorconfig anzu ac-php))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.

View File

@ -43,6 +43,7 @@
(require 'init-flycheck)
(require 'init-whitespace)
(require 'init-emmet-mode)
(require 'init-nginx)
;;(require 'init-editorconfig)
;; Languages
(require 'init-ccc)

8
lisp/init-nginx.el Normal file
View File

@ -0,0 +1,8 @@
;;---------------------------
;; Nginx Mode
;;---------------------------
(require-package 'nginx-mode)
(add-to-list 'auto-mode-alist '("/nginx/sites-\\(?:available\\|enabled\\)/" . nginx-mode))
(provide 'init-nginx)