lang/ocaml: start lsp as late as possible
Gives the user more opportunity to customize lsp et co with file/dir-local variables or mode hooks.
This commit is contained in:
parent
17bd6e43c6
commit
d0412b7f56
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,8 @@
|
||||||
;;; lang/ocaml/config.el -*- lexical-binding: t; -*-
|
;;; lang/ocaml/config.el -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
(when (featurep! +lsp)
|
(when (featurep! +lsp)
|
||||||
(add-hook! (tuareg-mode reason-mode) #'lsp!))
|
(add-hook! (tuareg-mode-local-vars reason-mode-local-vars)
|
||||||
|
#'lsp!))
|
||||||
|
|
||||||
|
|
||||||
(after! tuareg
|
(after! tuareg
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue