Go and electric-operator-mode do not play nicely
This commit is contained in:
parent
8fc0ebbb62
commit
121fef9236
@ -5262,7 +5262,8 @@ add spaces around operators for [[https://go.dev/][Go]] and [[https://www.python
|
||||
#+name: lst:configure-electric-operator
|
||||
#+begin_src emacs-lisp -n :results silent
|
||||
(when (ensure-package-installation 'electric-operator)
|
||||
(add-hook 'go-ts-mode-hook #'electric-operator-mode)
|
||||
;; electric-operator-mode does not handle all operators in Go correctly.
|
||||
;; (add-hook 'go-ts-mode-hook #'electric-operator-mode)
|
||||
(add-hook 'python-mode-hook #'electric-operator-mode))
|
||||
#+end_src
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user