From 121fef92368246eca17b97979d8739bd673deadd Mon Sep 17 00:00:00 2001 From: Gerard Vermeulen Date: Mon, 13 Jan 2025 12:07:11 +0100 Subject: [PATCH] Go and electric-operator-mode do not play nicely --- README.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.org b/README.org index 275c292..6496da1 100644 --- a/README.org +++ b/README.org @@ -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