Add php and yaml modes
This commit is contained in:
10
lisp/modes/php.el
Normal file
10
lisp/modes/php.el
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
;;; php.el --- initializes PHP modes -*- lexical-binding: t; -*-
|
||||||
|
;;; Commentary:
|
||||||
|
;;; Code:
|
||||||
|
|
||||||
|
(use-package php-mode
|
||||||
|
:if (executable-find "php")
|
||||||
|
:defer)
|
||||||
|
|
||||||
|
(provide 'modes/php)
|
||||||
|
;;; php.el ends here
|
15
lisp/modes/yaml.el
Normal file
15
lisp/modes/yaml.el
Normal 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
|
Reference in New Issue
Block a user