Added major mode for editing nginx config files
This commit is contained in:
parent
c4ed81a9a8
commit
bff67e0c33
@ -12,7 +12,7 @@
|
|||||||
'(ecb-options-version "2.50")
|
'(ecb-options-version "2.50")
|
||||||
'(package-selected-packages
|
'(package-selected-packages
|
||||||
(quote
|
(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
|
||||||
;; custom-set-faces was added by Custom.
|
;; custom-set-faces was added by Custom.
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
|
1
init.el
1
init.el
@ -43,6 +43,7 @@
|
|||||||
(require 'init-flycheck)
|
(require 'init-flycheck)
|
||||||
(require 'init-whitespace)
|
(require 'init-whitespace)
|
||||||
(require 'init-emmet-mode)
|
(require 'init-emmet-mode)
|
||||||
|
(require 'init-nginx)
|
||||||
;;(require 'init-editorconfig)
|
;;(require 'init-editorconfig)
|
||||||
;; Languages
|
;; Languages
|
||||||
(require 'init-ccc)
|
(require 'init-ccc)
|
||||||
|
8
lisp/init-nginx.el
Normal file
8
lisp/init-nginx.el
Normal 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)
|
Loading…
x
Reference in New Issue
Block a user