summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2021-08-24 17:55:28 -0700
committerFranck Cuny <franck@fcuny.net>2021-08-24 17:55:28 -0700
commit85c6d2ffc51bc59fe0770a277d544ddf3485a4c5 (patch)
tree7f032c0ac2d1031b1120796b02a3ede6ae2d6e7a
parentemacs: add lsp-treemacs (diff)
downloademacs.d-85c6d2ffc51bc59fe0770a277d544ddf3485a4c5.tar.gz
emacs: fix hook syntax for lsp-mode
-rw-r--r--emacs/custom/fcuny-prog.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/custom/fcuny-prog.el b/emacs/custom/fcuny-prog.el
index cfdecf3..1c341e1 100644
--- a/emacs/custom/fcuny-prog.el
+++ b/emacs/custom/fcuny-prog.el
@@ -24,7 +24,7 @@
   :ensure t
   :commands (lsp lsp-deferred)
   :diminish lsp-mode
-  :hook (((go-mode) . lsp-deferred)
+  :hook ((go-mode . lsp-deferred)
          (lsp-mode . (lambda() (let ((lsp-keymap-prefix "C-c l"))
                                  (lsp-enable-which-key-integration)))))
   :config