about summary refs log tree commit diff
path: root/.emacs.d/config.org
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/config.org')
-rw-r--r--.emacs.d/config.org21
1 files changed, 21 insertions, 0 deletions
diff --git a/.emacs.d/config.org b/.emacs.d/config.org
index 796e32c..5b7f51e 100644
--- a/.emacs.d/config.org
+++ b/.emacs.d/config.org
@@ -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)