From 5fd4d803be218e03cd81e9b8bd9053d8b2e808bd Mon Sep 17 00:00:00 2001 From: rhjr Date: Tue, 20 Jan 2026 14:28:43 +0100 Subject: [PATCH] Added: highlight-parentheses package --- .config/emacs/init.el | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/.config/emacs/init.el b/.config/emacs/init.el index c21c56c..4498773 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -102,6 +102,7 @@ (tool-bar-mode -1) (scroll-bar-mode -1) (set-fringe-mode '(2 . 0)) +(pixel-scroll-precision-mode) ;;; rhjr/packages (use-package magit @@ -179,7 +180,14 @@ (add-hook 'completion-at-point-functions #'cape-abbrev) (add-hook 'completion-at-point-functions #'cape-dabbrev) (add-hook 'completion-at-point-functions #'cape-file) -) + ) + +(use-package highlight-parentheses + :ensure t + :hook (prog-mode . highlight-parentheses-mode) + :custom + (highlight-parentheses-colors + '("#8ffff2" "#8ffff2" "#8ffff2" "#8ffff2" "#8ffff2"))) (use-package emacs :custom @@ -243,13 +251,22 @@ (setq-default show-trailing-whitespace t) (add-hook 'before-save-hook 'delete-trailing-whitespace) +;;rhjr/fix +(setq minibuffer-prompt-properties ;; cursor in minibuffer-prompt + '(read-only t cursor-intangible t face minibuffer-prompt)) +(add-hook 'minibuffer-setup-hook #'cursor-intangible-mode) + (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. + '(custom-safe-themes + '("4a32b5f87b7ec307837e58c5a1bf8d532d5d090ae2e52f8e5348c1a48357c6c7" + default)) '(package-selected-packages - '(cape consult corfu corfu-candidate-overlay magit orderless vertico))) + '(cape consult corfu corfu-candidate-overlay highlight-parentheses + magit orderless vertico))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful.