Skip to content

Commit

Permalink
Merge pull request #330 from nanasess/improve/performance-testing
Browse files Browse the repository at this point in the history
Improve/performance testing
  • Loading branch information
nanasess authored Mar 10, 2024
2 parents 99ef86b + 0b8a63a commit 668f5b6
Show file tree
Hide file tree
Showing 9 changed files with 189 additions and 196 deletions.
4 changes: 3 additions & 1 deletion .emacs.d/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,6 @@ server
/lib64
/bin/bundle/
/node_modules/
/yarn.lock
/yarn.lock
/undo-tree
!/undo-tree/.gitkeep
5 changes: 3 additions & 2 deletions .emacs.d/bin/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@
"phpactor/class-to-file": "*@dev",
"jetbrains/phpstorm-stubs": "*@dev",
"phpactor/tolerant-php-parser": "*@dev",
"phpactor/phpactor": "^2023.12",
"friendsofphp/php-cs-fixer": "^3.14"
"phpactor/phpactor": "^2024.03",
"friendsofphp/php-cs-fixer": "^3.14",
"phpactor/language-server": "dev-master@dev"
},
"repositories": [
{
Expand Down
341 changes: 158 additions & 183 deletions .emacs.d/bin/composer.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions .emacs.d/el-get-init.d/init-lsp-bridge.el
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
(setq acm-backend-copilot-node-path "/usr/local/bin/node")
(autoload 'lsp-bridge--with-file-buffer "lsp-bridge")
(setq lsp-bridge-enable-with-tramp nil)

(setq lsp-bridge-diagnostic-max-number 300)
;; (setq lsp-bridge-enable-log t)
;; (setq lsp-bridge-enable-debug t)
;; (setq lsp-bridge-signature-show-function 'lsp-bridge-signature-posframe)
;; (setq acm-enable-tabnine t)
(setq acm-enable-tabnine nil)
(global-set-key [remap xref-find-definitions] #'lsp-bridge-find-def)
(global-set-key [remap xref-pop-marker-stack] #'lsp-bridge-find-def-return)
(global-set-key (kbd "M-.") #'lsp-bridge-find-def)
Expand Down
8 changes: 8 additions & 0 deletions .emacs.d/el-get-init.d/init-undo-tree.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
(add-hook 'emacs-startup-hook
#'(lambda ()
(global-undo-tree-mode)))
(setopt undo-tree-visualizer-timestamps t)
(setopt undo-tree-visualizer-diff t)
(setopt undo-tree-auto-save-history t)
(setopt undo-tree-enable-undo-in-region t)
(setopt undo-tree-history-directory-alist `(("." . ,(expand-file-name "undo-tree" user-emacs-directory))))
5 changes: 3 additions & 2 deletions .emacs.d/el-get.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
(setq el-get-lock-package-versions
'((tree-sitter-php-mode :checksum "2f791d9d83c35b11e9a14daf9a58dd7e23566041")
'((undo-tree :checksum "7eb78fa1fcb076621235c46fc730f485d3225dbb")
(tree-sitter-php-mode :checksum "2f791d9d83c35b11e9a14daf9a58dd7e23566041")
(php-ts-mode :checksum "b398a871ce7dda880997196666083e850d153388")
(jq-mode :checksum "071c1c29bac30351ad338136f2b625e5601365cd")
(terraform-mode :checksum "25a22a66f81e35c75f2fdaaab89aad7f9940fe06")
Expand Down Expand Up @@ -96,7 +97,7 @@
(spinner :checksum "d4647ae87fb0cd24bc9081a3d287c860ff061c21")
(request :checksum "01e338c335c07e4407239619e57361944a82cb8a")
(deferred :checksum "2239671d94b38d92e9b28d4e12fd79814cfb9c16")
(markdown-mode :checksum "141f9a05d121f60fe5e411c0ad114e3d3216c9ad")
(markdown-mode :checksum "e096bb97a91fcd4dc2b46d8b6e093194b03b7364")
(frame-local :checksum "7ee1106c3bcd4022f48421f8cb1ef4f995da816e")
(helm-swoop :checksum "1b3285791f1dc1fde548fe67aec07214d698fd57")
(wgrep :checksum "edf768732a56840db6879706b64c5773c316d619")
Expand Down
17 changes: 11 additions & 6 deletions .emacs.d/init.el
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
;; (profiler-start 'cpu)
;; see https://github.com/syl20bnr/spacemacs/commit/72c89df995ee1e4eb32ab982deb0911093048f20
;; (setq garbage-collection-messages t)
(defconst my/saved-file-name-handler-alist file-name-handler-alist)
(setq file-name-handler-alist nil)
(eval-when-compile (require 'cl))
(eval '(eval-when-compile (require 'cl)))

Expand Down Expand Up @@ -40,7 +42,9 @@
(url-retrieve-synchronously
"https://raw.githubusercontent.com/dimitri/el-get/master/el-get-install.el")
(goto-char (point-max))
(eval-print-last-sexp)))
(eval-print-last-sexp))
(with-eval-after-load 'el-get-git
(setopt el-get-git-shallow-clone t)))

(el-get-bundle el-get-lock
:type github
Expand Down Expand Up @@ -354,8 +358,9 @@

(el-get-bundle migemo)
(el-get-bundle visual-regexp)
;; (el-get-bundle elpa:undo-tree
;; (global-undo-tree-mode))
(el-get-bundle undo-tree
:type github
:pkgname "emacsmirror/undo-tree")
(el-get-bundle easy-kill in leoliu/easy-kill)
(el-get-bundle yasnippet)
(el-get-bundle yasnippet-snippets)
Expand Down Expand Up @@ -635,13 +640,13 @@
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
'(vertico-group-title ((t (:foreground "#788484")))))
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
'(package-selected-packages '(queue)))
;; (profiler-report)
;; (profiler-stop)

(setq file-name-handler-alist my/saved-file-name-handler-alist)
Empty file added .emacs.d/undo-tree/.gitkeep
Empty file.
1 change: 1 addition & 0 deletions .zsh/.zshrc.mine
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export PATH=$HOME/.local/bin:$PATH
export PATH=$HOME/.symfony/bin:$PATH
export PATH=$HOME/.symfony5/bin:$PATH
export PATH=$HOME/.composer/vendor/bin:$PATH
export PATH=$HOME/google-cloud-sdk/bin:$PATH
export PATH=/usr/local/bin:$PATH
export PATH=/usr/local/sbin:$PATH
# export PATH=$HOME/.emacs.d/bin:$PATH
Expand Down

0 comments on commit 668f5b6

Please sign in to comment.