- Timestamp:
- Jul 19, 2022, 6:46:51 PM (3 years ago)
- Branches:
- master
- Children:
- 1a961f6
- Parents:
- 13a1472
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
emacs/.emacs.d/.emacs-config.org
r13a1472 r07d6016 158 158 (package-install 'pdf-tools) 159 159 ;;(package-install 'phpactor) 160 (package-install 'company-quickhelp)160 ;; (package-install 'company-quickhelp) 161 161 (package-install 'ac-php) 162 162 (package-install 'php-mode) … … 164 164 (package-install 'phan) 165 165 (package-install 'php-cs-fixer) 166 (package-install 'company-php)166 ;; (package-install 'company-php) 167 167 (package-install 'php-eldoc) 168 168 (package-install 'phps-mode) … … 737 737 #+end_src 738 738 739 *** Автодополнение и документация 740 По большей части я использую дефолтный Completion buffer, но для работы 741 вынужден использовать company ради PHP. 742 #+begin_src elisp :tangle nil 743 ;;(require 'auto-complete) 744 745 ;; (when (package-loaded? "auto-complete") 746 ;; (progn 747 ;; (setq ac-use-menu-map t) 748 ;; (setq ac-menu-height 20) 749 ;; (setq ac-ignore-case t) 750 ;; (ac-config-default))) 739 *** Автодополнение кода и документация 740 По большей части я использую дефолтный Completion Buffer и Corfu 741 #+begin_src elisp :tangle init.el 742 (require 'corfu) 743 744 (when (package-loaded? "corfu") 745 (progn 746 (add-hook 'prog-mode-hook 'corfu-mode)))y 751 747 #+end_src 752 748 *** Модификация дефолта … … 1000 996 (add-hook 'php-mode-hook 1001 997 '(lambda () 1002 (require 'company-quickhelp)1003 998 (require 'yasnippet) 1004 999 (require 'yasnippet-snippets) 1005 ;; (require 'phpactor)1006 (require 'company)1007 (company-mode t)1008 1009 (company-quickhelp-mode t)1010 1000 (yas-minor-mode t) 1011 1001 (define-key php-mode-map (kbd "C-c h") 'php-quickhelp-at-point)
Note:
See TracChangeset
for help on using the changeset viewer.