summaryrefslogtreecommitdiff
path: root/modes/python
diff options
context:
space:
mode:
authorFrédéric Giquel <frederic.giquel@laposte.net>2023-07-24 11:20:30 +0200
committerYoumu <condy0919@gmail.com>2023-07-25 00:24:07 +0800
commit163171c7ca32c8e6d1ab5b833924bac78c21d36a (patch)
treec8fcf6c15c26cb3571b218cfda43c7aa2ec72e34 /modes/python
parent1f34f5ec4ee8e7945ecd1f885f18789526a905ee (diff)
Set local-buffer value for evil-shift-width
Diffstat (limited to 'modes/python')
-rw-r--r--modes/python/evil-collection-python.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/modes/python/evil-collection-python.el b/modes/python/evil-collection-python.el
index 96e2956..c71395e 100644
--- a/modes/python/evil-collection-python.el
+++ b/modes/python/evil-collection-python.el
@@ -36,7 +36,7 @@
(defun evil-collection-python-set-evil-shift-width ()
"Set `evil-shift-width' according to `python-indent-offset'."
- (setq evil-shift-width python-indent-offset))
+ (setq-local evil-shift-width python-indent-offset))
;;;###autoload
(defun evil-collection-python-setup ()