Add OCaml

Feeling Functional
This commit is contained in:
venomade committed 2025-03-23 14:58:28 +00:00
1 parent 5d59b1da2c
commit e9d31e5cef
2 files changed
+26 -1

No files matched your search

+21
View File
@@ -841,6 +841,24 @@ A simple Python-like language with many implementations.
(add-hook 'lua-mode-hook 'lua-abbrev-mode-off)
(setq save-abbrevs nil) ;; is this still needed?
#+end_src
*** OCaml
Installed with OPAM
#+begin_src emacs-lisp
(setenv "PATH" (concat (concat
(concat (expand-file-name "~/.opam/default/bin") ":")
(getenv "PATH"))))
(setq exec-path (append exec-path (list (expand-file-name "~/.opam/default/bin"))))
(use-package tuareg
:hook
(tuareg-mode . lsp))
(add-to-list 'load-path "/home/venomade/.opam/default/share/emacs/site-lisp")
(require 'ocp-indent)
(require 'dune)
(require 'utop)
#+end_src
*** COMMENT Vala
An OOP Language for C & GLib interop.
#+begin_src emacs-lisp
@@ -871,6 +889,9 @@ A powerful auto-completion utility.
;; Disable Autocomplete
(setq company-idle-delay 0)
;; Disable Case Sensitivity
(setq completion-ignore-case t)
;; Bind M-/ to company-complete
(define-key global-map (kbd "M-/") 'company-complete)
(define-key global-map (kbd "M-?") 'dabbrev-expand)