Enable yasnippets in PHP
This commit is contained in:
parent
8fa46c3639
commit
3a9faa79c3
1 changed files with 2 additions and 1 deletions
|
@ -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))
|
||||||
|
|
Loading…
Reference in a new issue