I broke some stuff, this fixes it
All checks were successful
/ Test config on 20 (push) Successful in 25s

This commit is contained in:
Maciej 2024-08-03 22:10:57 +03:00
parent f0340183f6
commit ff2dbc1796
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
9 changed files with 142 additions and 84 deletions

View file

@ -35,6 +35,9 @@
[""
("q" "Quit" keyboard-quit)])
(add-to-list
'icejam-language-transient-alist '(elixir-ts-mode . icejam/elixir-lang-menu))
(defun icejam/load-ocaml-site-packages ()
"Generate ocaml config."
(let ((opam-share (ignore-errors (car (process-lines "opam" "var" "share")))))
@ -47,8 +50,7 @@
(autoload 'dune "dune" nil t nil)
;; Use opam switch to lookup ocamlmerlin binary
(setq merlin-command 'opam)))
(define-key tuareg-mode-map (kbd "C-c l") 'icejam-lang-ocaml/context-menu))
(setq merlin-command 'opam))))
;; OCaml setup
(add-hook 'tuareg-mode-hook 'merlin-mode)