mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Remove detection for .merlin files
These files are generated and hence this detection fails if they haven't been generated yet. Merlin is essential for basically all OCaml development so there's no need for this extra check. Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
This commit is contained in:
@ -65,12 +65,11 @@
|
||||
:hook (merlin-mode . +ocaml-init-flycheck-h)
|
||||
:config
|
||||
(defun +ocaml-init-flycheck-h ()
|
||||
"Activate `flycheck-ocaml` if the current project possesses a .merlin file."
|
||||
(when (projectile-locate-dominating-file default-directory ".merlin")
|
||||
"Activate `flycheck-ocaml`"
|
||||
;; Disable Merlin's own error checking
|
||||
(setq merlin-error-after-save nil)
|
||||
;; Enable Flycheck checker
|
||||
(flycheck-ocaml-setup))))
|
||||
(flycheck-ocaml-setup)))
|
||||
|
||||
(use-package! merlin-eldoc
|
||||
:hook (merlin-mode . merlin-eldoc-setup))
|
||||
|
Reference in New Issue
Block a user