[php] Enable evil-matchit-mode

This commit is contained in:
duianto 2019-09-27 13:35:29 +02:00
parent 3142f070f5
commit 8ca2af4215
2 changed files with 6 additions and 0 deletions

View file

@ -2286,6 +2286,8 @@ Other:
- ~SPC m t t~ =phpunit-current-test= - ~SPC m t t~ =phpunit-current-test=
- ~SPC m t c~ =phpunit-current-class= - ~SPC m t c~ =phpunit-current-class=
- ~SPC m t p~ =phpunit-current-project= - ~SPC m t p~ =phpunit-current-project=
- Improvements:
- Enabled =evil-matchit-mode= (thanks to duianto)
- Fixes: - Fixes:
- Added company-php (thanks to jim and Eivind Fonn) - Added company-php (thanks to jim and Eivind Fonn)
- Fixed php-company autocompletion (thanks to Dela Anthonio) - Fixed php-company autocompletion (thanks to Dela Anthonio)

View file

@ -13,6 +13,7 @@
'( '(
drupal-mode drupal-mode
eldoc eldoc
evil-matchit
flycheck flycheck
ggtags ggtags
counsel-gtags counsel-gtags
@ -44,6 +45,9 @@
(defun php/post-init-helm-gtags () (defun php/post-init-helm-gtags ()
(spacemacs/helm-gtags-define-keys-for-mode 'php-mode)) (spacemacs/helm-gtags-define-keys-for-mode 'php-mode))
(defun php/post-init-evil-matchit ()
(add-hook 'php-mode-hook 'turn-on-evil-matchit-mode))
(defun php/init-php-auto-yasnippets () (defun php/init-php-auto-yasnippets ()
(use-package php-auto-yasnippets (use-package php-auto-yasnippets
:defer t)) :defer t))