From 628b3178b2e725afa0c73511f3f88a6df195a22f Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Tue, 23 Apr 2019 07:18:57 -0400 Subject: [PATCH] Syntax highlighting for YAML and Dockerfiles --- emacs/init.org | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/emacs/init.org b/emacs/init.org index e8b6c48..6a58d1c 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -1226,6 +1226,11 @@ LSP for PHP requires [[https://github.com/felixfbecker/php-language-server][php- (add-hook 'php-mode-hook #'lsp) #+END_SRC +* YAML +#+BEGIN_SRC emacs-lisp + (use-package yaml-mode + :mode ("//.yml//'")) +#+END_SRC * Pharen [[https://pharen.org][Pharen]] is a Lisp that compiles to PHP. It looks a lot like Clojure. #+BEGIN_SRC emacs-lisp @@ -2575,6 +2580,12 @@ GraphQL environments: (local . ("http://localhost:7200/api/graphql" . ,(password-store-get "lola-graphql-local-token"))))) #+END_SRC +* Docker +Syntax highlighting for Dockerfiles: +#+BEGIN_SRC emacs-lisp + (use-package dockerfile-mode + :mode ("\\Dockerfile\\'")) +#+END_SRC * Kubernetes #+BEGIN_SRC emacs-lisp (use-package kubernetes