mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -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; -*-
|
||||
|
||||
(when (featurep! +lsp)
|
||||
(add-hook! (tuareg-mode reason-mode) #'lsp!))
|
||||
(add-hook! (tuareg-mode-local-vars reason-mode-local-vars)
|
||||
#'lsp!))
|
||||
|
||||
|
||||
(after! tuareg
|
||||
|
Reference in New Issue
Block a user