summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--emacs/.emacs.d/main.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 16b54059..abec6f4d 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -1556,6 +1556,11 @@ With prefix TO-CURRENT-BUFFER, insert command output into buffer."
 (use-package dockerfile-mode
   :mode (("Dockerfile\\'" . dockerfile-mode)))
 
+(use-package docker-compose-mode
+  :mode (("docker-compose.*.yml"))
+  :config (progn
+            (add-hook 'docker-compose-mode-hook #'company-mode-on)))
+
 (use-package nix-mode
   :mode (("\\.nix\\'" . nix-mode))
   :config (progn