diff options
-rw-r--r-- | lisp/init-eglot.el | 4 | ||||
-rw-r--r-- | lisp/init-javascript.el | 4 |
2 files changed, 4 insertions, 4 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 diff --git a/lisp/init-javascript.el b/lisp/init-javascript.el index 4d18a70..6a61a91 100644 --- a/lisp/init-javascript.el +++ b/lisp/init-javascript.el @@ -10,7 +10,7 @@ ("\\.\\(json\\|jshintrc\\)\\'" . js-mode) :bind (:map js-mode-map - ;; C-c p runs formats json with jq - ("C-c p" . json-pretty-print-buffer))) + ;; C-c f formats json + ("C-c f" . json-pretty-print-buffer))) (provide 'init-javascript) |