From 7b55db7c2ef3d36783baa16c8b856680a27cacef Mon Sep 17 00:00:00 2001 From: tastytea Date: Tue, 19 Mar 2019 00:28:35 +0100 Subject: [PATCH] Added nginx-mode --- init.el | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/init.el b/init.el index 1e3663b..170eb50 100644 --- a/init.el +++ b/init.el @@ -355,21 +355,27 @@ ("M-" . mc/add-cursor-on-click)) ;;;;;;;;;;;;;;;;;;;; File formats ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; AsciiDoc (use-package adoc-mode :mode (("\\.adoc" . adoc-mode))) -;; Markdown (use-package markdown-mode :mode (("README\\.md\\'" . gfm-mode) ("\\.md\\'" . markdown-mode) ("\\.markdown\\'" . markdown-mode)) :init (setq markdown-command "markdown2")) -;; Crontabs (use-package crontab-mode :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 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Edit remote files (unless slow-computer