Add php and yaml modes

This commit is contained in:
2022-06-13 07:49:04 +02:00
parent 809dcf1f21
commit 79be4334bd
2 changed files with 25 additions and 0 deletions

15
lisp/modes/yaml.el Normal file
View File

@@ -0,0 +1,15 @@
;;; yaml.el --- Initializes YAML mode -*- lexical-binding: t; -*-
;;; Commentary:
;;; Code:
(use-package yaml-mode
:ensure t
:defer
:config
(use-package flycheck-yamllint
:if (executable-find "yamllint")
:config
(flycheck-yamllint-setup)))
(provide 'modes/yaml)
;;; yaml.el ends here