From 3a9faa79c3ec9d40db6a07e24e2697ce7512897f Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Tue, 24 Dec 2024 09:39:33 -0800 Subject: [PATCH] Enable yasnippets in PHP --- oni-php/oni-php.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/oni-php/oni-php.el b/oni-php/oni-php.el index 7a4e554..1f42ddb 100644 --- a/oni-php/oni-php.el +++ b/oni-php/oni-php.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; 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) ;; 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 'ggtags-mode) (add-hook 'php-mode-hook 'oni-php--auto-fill-mode) +(add-hook 'php-mode-hook 'yas-minor-mode) (with-eval-after-load 'company (add-to-list 'company-backends 'company-ac-php-backend))