mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
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:
@ -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
|
||||||
|
Reference in New Issue
Block a user