Added nginx-mode
This commit is contained in:
parent
ca474c5958
commit
7b55db7c2e
12
init.el
12
init.el
|
@ -355,21 +355,27 @@
|
||||||
("M-<mouse-1>" . mc/add-cursor-on-click))
|
("M-<mouse-1>" . mc/add-cursor-on-click))
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;; File formats ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;; File formats ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; AsciiDoc
|
|
||||||
(use-package adoc-mode
|
(use-package adoc-mode
|
||||||
:mode (("\\.adoc" . adoc-mode)))
|
:mode (("\\.adoc" . adoc-mode)))
|
||||||
|
|
||||||
;; Markdown
|
|
||||||
(use-package markdown-mode
|
(use-package markdown-mode
|
||||||
:mode (("README\\.md\\'" . gfm-mode)
|
:mode (("README\\.md\\'" . gfm-mode)
|
||||||
("\\.md\\'" . markdown-mode)
|
("\\.md\\'" . markdown-mode)
|
||||||
("\\.markdown\\'" . markdown-mode))
|
("\\.markdown\\'" . markdown-mode))
|
||||||
:init (setq markdown-command "markdown2"))
|
:init (setq markdown-command "markdown2"))
|
||||||
|
|
||||||
;; Crontabs
|
|
||||||
(use-package crontab-mode
|
(use-package crontab-mode
|
||||||
:defer t)
|
:defer t)
|
||||||
|
|
||||||
|
(use-package nginx-mode
|
||||||
|
:defer t)
|
||||||
|
|
||||||
|
(use-package company-nginx
|
||||||
|
:after nginx-mode
|
||||||
|
:config
|
||||||
|
:hook
|
||||||
|
(nginx-mode #'company-nginx-keywords))
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;; Server / Remote editing ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;; Server / Remote editing ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; Edit remote files
|
;; Edit remote files
|
||||||
(unless slow-computer
|
(unless slow-computer
|
||||||
|
|
Loading…
Reference in New Issue
Block a user