summaryrefslogtreecommitdiffstats
path: root/lisp/init-eglot.el
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2020-02-02 18:34:40 +0100
committerMartin Polden <mpolden@mpolden.no>2020-02-02 18:34:40 +0100
commit8989b629b13520ee9772c87069153d7d55696025 (patch)
tree3a7407d43f5c0fc292e7e1794ec5d031c3cc131a /lisp/init-eglot.el
parentd25b093c8d1700bfdf712cce48ab71217161cfda (diff)
Change formatting keybinding
Diffstat (limited to 'lisp/init-eglot.el')
-rw-r--r--lisp/init-eglot.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/init-eglot.el b/lisp/init-eglot.el
index 91c2c3b..6146bf6 100644
--- a/lisp/init-eglot.el
+++ b/lisp/init-eglot.el
@@ -8,8 +8,8 @@
:bind (:map eglot-mode-map
;; C-c r renames identifier
("C-c r" . eglot-rename)
- ;; C-c p formats buffer
- ("C-c p" . eglot-format))
+ ;; C-c f formats buffer
+ ("C-c f" . eglot-format))
:config
;; disable imenu integration as it's currently unsupported with gopls
;; https://github.com/joaotavora/eglot/pull/303