From cd5bcb8b8587cb06c3a1b5dc4b5b1d6625a22bfc Mon Sep 17 00:00:00 2001 From: Riyyi Date: Sat, 1 Feb 2020 06:35:32 +0100 Subject: [PATCH] Change parenthesis behavior --- .emacs.d/config.org | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.emacs.d/config.org b/.emacs.d/config.org index 0cf2d7a..4182766 100644 --- a/.emacs.d/config.org +++ b/.emacs.d/config.org @@ -461,6 +461,10 @@ https://github.com/laishulu/hl-fill-column ;; Automatically add newline on save at the end of the file (setq require-final-newline t) + ;; Change parenthesis behavior + (setq show-paren-delay 0) + (setq show-paren-style 'mixed) + ;; Enable line numbers (global-display-line-numbers-mode) @@ -765,7 +769,7 @@ Evil command aliases. ;; Delete trailing whitespace (add-hook 'before-save-hook 'delete-trailing-whitespace) - ;; Highlight parentheses + ;; Highlight parenthesis (add-hook 'prog-mode-hook 'show-paren-mode) ;; C++ // style comments in c-mode