Emacs: enable completion in docker-compose files
Alan Pearce alan@alanpearce.eu
Thu, 26 Oct 2017 09:36:43 +0200
1 files changed, 5 insertions(+), 0 deletions(-)
jump to
M emacs/.emacs.d/main.el → emacs/.emacs.d/main.el
@@ -1556,6 +1556,11 @@ (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