aboutsummaryrefslogtreecommitdiff
path: root/doom.d
diff options
context:
space:
mode:
Diffstat (limited to 'doom.d')
-rw-r--r--doom.d/modules/private/ocaml/config.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/doom.d/modules/private/ocaml/config.el b/doom.d/modules/private/ocaml/config.el
index b348197..df138ad 100644
--- a/doom.d/modules/private/ocaml/config.el
+++ b/doom.d/modules/private/ocaml/config.el
@@ -17,4 +17,4 @@
(make-lsp-client :new-connection (lsp-stdio-connection "ocamllsp")
:major-modes '(tuareg-mode)
:server-id 'ocaml-lsp))
- (add-hook 'tuareg-mode-hook #'(lambda () (lsp-mode)))))
+ (add-hook 'tuareg-mode-hook #'lsp!)))