add php mode

This commit is contained in:
Stefan Schwarz 2019-08-09 10:14:38 +02:00
parent bf654b9985
commit 8aecc9f23a

View file

@ -103,13 +103,18 @@
) )
;; langs ;; langs
;;
;; golang
(use-package go-mode :ensure t (use-package go-mode :ensure t
:config (add-to-list 'auto-mode-alist '("\\.go\\'" . go-mode))) :config (add-to-list 'auto-mode-alist '("\\.go\\'" . go-mode)))
;; yaml
(use-package yaml-mode :ensure t (use-package yaml-mode :ensure t
:config :config
(add-to-list 'auto-mode-alist '("\\.yaml\\'" . yaml-mode)) (add-to-list 'auto-mode-alist '("\\.yaml\\'" . yaml-mode))
(add-to-list 'auto-mode-alist '("\\.yml\\'" . yaml-mode)) (add-to-list 'auto-mode-alist '("\\.yml\\'" . yaml-mode))
) )
;; dockerfile
(use-package dockerfile-mode :ensure t (use-package dockerfile-mode :ensure t
:config (add-to-list 'auto-mode-alist '("Dockerfile\\'" . dockerfile-mode))) :config (add-to-list 'auto-mode-alist '("Dockerfile\\'" . dockerfile-mode)))
(use-package puppet-mode :ensure t (use-package puppet-mode :ensure t
@ -123,6 +128,8 @@
"ma" 'puppet-align-block "ma" 'puppet-align-block
) )
) )
;; php
(use-package php-mode :ensure t)
;; code-with-fun ;; code-with-fun
(use-package company (use-package company