Skip to content

Commit

Permalink
Remove extra parens around eglot hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffkreeftmeijer committed Apr 24, 2024
1 parent 11744a1 commit 1e2e0f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions emacs-configuration.org
Original file line number Diff line number Diff line change
Expand Up @@ -961,8 +961,8 @@ Language servers are added through the =eglot-server-programs= variable:
Start eglot automatically for Rust files:

#+begin_src emacs-lisp
(add-hook 'rust-mode #'eglot-ensure))
(add-hook 'rust-ts-mode #'eglot-ensure))
(add-hook 'rust-mode #'eglot-ensure)
(add-hook 'rust-ts-mode #'eglot-ensure)
#+end_src

#+headers: :eval no
Expand Down

0 comments on commit 1e2e0f7

Please sign in to comment.