aboutsummaryrefslogtreecommitdiff
path: root/modules/prog-python.el
diff options
context:
space:
mode:
Diffstat (limited to 'modules/prog-python.el')
-rw-r--r--modules/prog-python.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/prog-python.el b/modules/prog-python.el
index 5720e25e..a4c662e4 100644
--- a/modules/prog-python.el
+++ b/modules/prog-python.el
@@ -50,7 +50,7 @@ Install with: pip install mypy")
(setq-local tab-width 4) ;; set the tab width to 4 spaces
(setq-local standard-indent 4) ;; indent 4 spaces
(setq-local indent-tabs-mode nil) ;; disable tab characters
- (electric-pair-mode t) ;; match delimiters automatically
+ (electric-pair-local-mode t) ;; match delimiters automatically (buffer-local)
;; Enable LSP if available
(when (and (fboundp 'lsp-deferred)