Compare commits
2 commits
71da8bd68a
...
c40ff73059
Author | SHA1 | Date | |
---|---|---|---|
c40ff73059 | |||
5e8080c5ec |
1 changed files with 19 additions and 1 deletions
|
@ -1646,6 +1646,24 @@ Highlighting for device tree configuration.
|
||||||
(use-package dts-mode)
|
(use-package dts-mode)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
*** OCaml
|
||||||
|
|
||||||
|
[[https://github.com/ocaml/tuareg][Tuareg]] is the recommended OCaml mode
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package tuareg)
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
[[https://github.com/ocaml/merlin][Merlin]] adds context-sensitive completion
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package merlin
|
||||||
|
:init (setq merlin-command "ocamlmerlin")
|
||||||
|
:hook (tuareg-mode . merlin-mode))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
* Org
|
* Org
|
||||||
|
|
||||||
** Main org setup
|
** Main org setup
|
||||||
|
@ -1702,7 +1720,7 @@ Hooks
|
||||||
((org-mode . org-indent-mode)
|
((org-mode . org-indent-mode)
|
||||||
(org-mode . turn-on-visual-line-mode)
|
(org-mode . turn-on-visual-line-mode)
|
||||||
(org-mode . variable-pitch-mode)
|
(org-mode . variable-pitch-mode)
|
||||||
(org-mode . (lambda () (display-line-numbers-mode nil)))
|
(org-mode . (lambda () (display-line-numbers-mode -1)))
|
||||||
(org-mode-indent . (lambda () (diminish 'org-indent-mode)))
|
(org-mode-indent . (lambda () (diminish 'org-indent-mode)))
|
||||||
(org-agenda-mode . (lambda () (hl-line-mode 1))))
|
(org-agenda-mode . (lambda () (hl-line-mode 1))))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
Loading…
Reference in a new issue