1
0
Fork 0

Enable yasnippets in PHP

This commit is contained in:
Tom Willemsen 2024-12-24 09:39:33 -08:00
parent 8fa46c3639
commit 3a9faa79c3

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; Keywords: local
;; Version: 2021.1201.134011 ;; Version: 2024.1224.093837
;; Package-Requires: (php-mode oni-yasnippet oni-flycheck oni-company oni-hydra ggtags fic-mode company-php) ;; Package-Requires: (php-mode oni-yasnippet oni-flycheck oni-company oni-hydra ggtags fic-mode company-php)
;; This program is free software; you can redistribute it and/or modify ;; This program is free software; you can redistribute it and/or modify
@ -79,6 +79,7 @@ nil for some reason."
(add-hook 'php-mode-hook 'flycheck-mode) (add-hook 'php-mode-hook 'flycheck-mode)
(add-hook 'php-mode-hook 'ggtags-mode) (add-hook 'php-mode-hook 'ggtags-mode)
(add-hook 'php-mode-hook 'oni-php--auto-fill-mode) (add-hook 'php-mode-hook 'oni-php--auto-fill-mode)
(add-hook 'php-mode-hook 'yas-minor-mode)
(with-eval-after-load 'company (with-eval-after-load 'company
(add-to-list 'company-backends 'company-ac-php-backend)) (add-to-list 'company-backends 'company-ac-php-backend))