Change parenthesis behavior

This commit is contained in:
Riyyi
2020-02-01 06:35:32 +01:00
parent 8501774210
commit cd5bcb8b85
+5 -1
View File
@@ -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