Add my PHP config for Emacs

This commit is contained in:
Tom Willemse 2024-06-19 16:11:51 -07:00
parent 3b1e7f4876
commit 419e7053b9
2 changed files with 27 additions and 1 deletions

View file

@ -195,7 +195,8 @@
emacs-oni-embrace
emacs-oni-yaml
emacs-oni-python
emacs-oni-git-commit))
emacs-oni-git-commit
emacs-oni-php))
#:use-module ((oni packages hlwm-run-or-raise)
#:select (hlwm-run-or-raise))
#:use-module ((oni packages inbox-size)
@ -324,6 +325,7 @@
emacs-oni-python
emacs-nginx-mode
emacs-oni-git-commit
emacs-oni-php
tree-sitter-bash
tree-sitter-scheme

View file

@ -916,3 +916,27 @@ Emacs")))
emacs-yaml-pro))
(synopsis "My configuration for yaml-mode.")
(description "This package provides my configuration for editing Yaml files.")))
(define-public emacs-oni-php
(package
(inherit emacs-oni-config)
(name "emacs-oni-php")
(arguments
'(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'chdir-oni-php
(λ _ (chdir "oni-php"))))
#:include '("\\.el$" "^snippets\\/")))
(propagated-inputs
(list emacs-php-mode
emacs-oni-yasnippet
emacs-oni-flycheck
emacs-oni-company
emacs-oni-hydra
emacs-ggtags
emacs-fic-mode
emacs-ac-php
;; Actually a dependency of emacs-ac-php for using company-php.
emacs-xcscope))
(synopsis "My configuration for php-mode.")
(description "This package provides my configuration for editing PHP files.")))