Enable electric-operator mode for Python
This commit is contained in:
parent
897ba7b9c0
commit
5f5a862ec0
@ -2317,7 +2317,8 @@ Automatically add spaces around operators.
|
|||||||
(apply #'electric-operator-add-rules-for-mode 'vala-mode
|
(apply #'electric-operator-add-rules-for-mode 'vala-mode
|
||||||
(electric-operator-get-rules-for-mode 'prog-mode))
|
(electric-operator-get-rules-for-mode 'prog-mode))
|
||||||
:hook
|
:hook
|
||||||
(c-mode-common . electric-operator-mode))
|
(c-mode-common . electric-operator-mode)
|
||||||
|
(python-mode . electric-operator-mode))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** Yasnippets
|
** Yasnippets
|
||||||
|
Loading…
Reference in New Issue
Block a user