Change directory lisp/ to modules/

FS #2
This commit is contained in:
Jesús
2019-01-22 15:45:41 -05:00
parent d0f44d8546
commit ced0fe8f9e
44 changed files with 366 additions and 68 deletions

29
modules/init-php.el Normal file
View File

@@ -0,0 +1,29 @@
;;; init-php.el --- .Emacs Configuration -*- lexical-binding: t -*-
;;; Commentary:
;;
;;; Code:
(use-package php-refactor-mode
:after (php-mode)
:mode ("\\.php\\'" . php-mode)
:config
(add-hook 'php-mode-hook 'php-refactor-mode))
(use-package php-mode
:ensure t)
(use-package company-php
:ensure t
:config
(defun cfg:php-mode-hook ()
(interactive)
(require 'company-php)
(company-mode t)
(add-to-list 'company-backends 'company-ac-php-backend))
(add-hook 'php-mode-hook 'cfg:php-mode-hook))
(add-hook 'php-mode-hook (lambda () (subword-mode 1)))
(provide 'init-php)
;;; init-php.el ends here