Changeset 6782e9b in dotfiles
- Timestamp:
- Jul 4, 2024, 1:25:04 AM (4 months ago)
- Branches:
- master
- Children:
- a6193f9
- Parents:
- 8f6be2b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
emacs/.emacs.d/.emacs-config.org
r8f6be2b r6782e9b 117 117 (require 'gnutls) 118 118 119 (when (not package-archive-contents) 120 (progn 119 (progn 121 120 (package-refresh-contents) 122 121 (package-install 'avy) 122 (package-install 'php-mode) 123 (package-install 'phps-mode) 123 124 ;; (package-install 'anzu) 124 125 (package-install 'anaconda-mode) 125 126 (package-install 'auctex) 126 (package-install 'rmsbolt)127 ;; (package-install 'rmsbolt) 127 128 ;; (package-install 'beginend) 128 129 ;; (package-install 'composer) … … 155 156 (package-install 'flycheck) 156 157 (package-install 'flycheck-phpstan) 157 ;;(package-install 'phpactor)158 (package-install 'phpactor) 158 159 ;;(package-install 'robe) 159 160 (package-install 'geiser) … … 183 184 ;;(package-install 'phps-mode) 184 185 (package-install 'realgud) 185 (package-install 'realgud-xdebug)186 ;; (package-install 'realgud-xdebug) 186 187 ;; (package-install 'kiwix) 187 188 ;;(package-install 'sml-mode) … … 213 214 ;; (package-install 'psysh) 214 215 ;; (package-install 'restclient) 215 ) )216 ) 216 217 #+end_src 217 218 … … 256 257 ** EXWM 257 258 258 #+begin_src emacs-lisp :tangle init.el259 #+begin_src emacs-lisp :tangle nil 259 260 (require 'exwm) 260 261 (require 'exwm-config) … … 397 398 398 399 (require 'package) 400 (package-initialize) 399 401 400 402 (defun package-loaded? (string) … … 767 769 768 770 ** Клиент LSP 769 #+begin_src emacs-lisp :tangle nil770 (with-eval-after-load 'eglot771 (add-to-list 'eglot-server-programs '((php-mode phps-mode) . ("~/projects/phpactor/bin/phpactor" "language-server" "-vvv")))772 (add-to-list 'eglot-server-programs '((php-mode phps-mode) . ("intelephense" "--stdio")))773 774 ;; No event buffers, disable providers cause a lot of hover traffic. Shutdown unused servers.775 (setq eglot-events-buffer-size 0776 777 778 771 #+begin_src emacs-lisp :tangle init.el 772 ;; (with-eval-after-load 'eglot 773 ;; (add-to-list 'eglot-server-programs '((php-mode phps-mode) . ("~/projects/phpactor/bin/phpactor" "language-server" "-vvv"))) 774 ;; (add-to-list 'eglot-server-programs '((php-mode phps-mode) . ("intelephense" "--stdio"))) 775 776 ;; ;; No event buffers, disable providers cause a lot of hover traffic. Shutdown unused servers. 777 ;; (setq eglot-events-buffer-size 0 778 ;; eglot-ignored-server-capabilities '(:hoverProvider 779 ;; :documentHighlightProvider) 780 ;; eglot-autoshutdown t)) 779 781 780 782 ;; Show all of the available eldoc information when we want it. This way Flymake errors … … 871 873 Показывает собранное состояние будь то собранный куски на ассемблере 872 874 или байт-код при помощи пакета RMSbolt. 873 #+begin_src emacs-lisp :tangle init.el875 #+begin_src emacs-lisp :tangle nil 874 876 (add-hook 'prog-mode-hook 'rmsbolt-mode) 875 877 #+end_src … … 951 953 ;; (defun init-php-mode () 952 954 ;; (eglot-ensure)) 953 955 954 956 (with-eval-after-load 'php-mode 955 (custom-set-variables '(lsp-phpactor-path "/home/w96k/php/phpactor")) 957 956 958 ;; (add-hook 'php-mode-hook #'init-php-mode) 957 959 ) … … 961 963 (add-hook 'php-mode-hook 'php-enable-symfony2-coding-style) 962 964 (setq lsp-intelephense-php-version "8.1.16") 963 (defvar phpactor-executable "~/. local/bin/phpactor")965 (defvar phpactor-executable "~/.bin/phpactor") 964 966 (custom-set-variables '(lsp-phpactor-path "~/usr/local/bin/phpactor")) 965 967 … … 1035 1037 1036 1038 *** Composer 1039 #+begin_src emacs-lisp :tangle init.el 1040 (setq composer-executable-bin "~/.bin/composer") 1041 #+end_src 1042 1037 1043 *** Flymake PHP 1038 1044 *** REPL … … 1040 1046 PHPactor 1041 1047 #+begin_src emacs-lisp :tangle nil 1042 (with-eval-after-load 'php-mode 1043 (define-key php-mode-map (kbd "M-.") #'phpactor-goto-definition) 1044 (define-key php-mode-map (kbd "M-?") #'phpactor-find-references)) 1048 (setq phpactor-executable "~/.bin/phpactor") 1049 (custom-set-variables '(lsp-phpactor-path "~/.bin/phpactor")) 1050 1051 (use-package phpactor :ensure t) 1052 (use-package company-phpactor :ensure t) 1053 1054 1055 1056 ;; (with-eval-after-load 'php-mode 1057 ;; (define-key php-mode-map (kbd "M-.") #'phpactor-goto-definition) 1058 ;; (define-key php-mode-map (kbd "M-?") #'phpactor-find-references)) 1045 1059 #+end_src 1046 1060 … … 1216 1230 (when (package-loaded? "org-roam") 1217 1231 (progn 1218 (setq org-roam-directory (file-truename "~/ projects/at-w96k/content/digarden/pages/")1232 (setq org-roam-directory (file-truename "~/Zettelkasten") 1219 1233 org-roam-v2-ack t 1220 1234 org-roam-completion-everywhere t
Note:
See TracChangeset
for help on using the changeset viewer.