Emacs: OCaml setup

This commit is contained in:
Joseph Ferano 2024-07-11 09:38:22 +07:00
parent 6e221b4ed7
commit 50f2ebf213

View File

@ -229,6 +229,11 @@ Finish up
org-download
valign
;; Programming Languages
tuareg
dune
merlin
merlin-eldoc
utop
highlight-quoted
rustic
ob-rust
@ -2446,8 +2451,8 @@ it doesn't close it.
(require 'tuareg)
(require 'dune)
(require 'utop)
(require 'merlin)
(require 'merlin-eldoc)
;; (require 'merlin)
;; (require 'merlin-eldoc)
;; Might be worth checking out, depeding on whether we stick with flycheck or not
;; (elpaca 'flycheck-ocaml)
;; Also check this out, see if it adds anything
@ -2464,6 +2469,7 @@ it doesn't close it.
(substring (shell-command-to-string
"opam config var share 2> /dev/null") 0 -1))
(add-to-list 'load-path (expand-file-name "emacs/site-lisp" opam-share))
(add-to-list 'exec-path "/home/joe/.opam/default/bin/")
#+end_src
We won't use the LSP server but rather directly talk to Merlin, since I guess LSP just wraps Merlin