Fix references to :tools fly{spell,check}

This commit is contained in:
Henrik Lissner 2020-01-14 03:04:26 -05:00
parent 920b511591
commit 12094788d7
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
48 changed files with 52 additions and 52 deletions

View file

@ -55,10 +55,10 @@ opam install merlin utop ocp-indent dune ocamlformat
* Configuration
+ If =:completion company= is enabled then autocomplete is provided by =merlin=
+ When =:tools flycheck= is enabled then =flycheck-ocaml= is activated to do
+ When =:checkers syntax= is enabled then =flycheck-ocaml= is activated to do
on-the-fly syntax/type checking via =merlin=, otherwise this is only done when
the file is saved.
+ Spell checking is activated in comments if =:tools flyspell= is active
+ Spell checking is activated in comments if =:checkers spell= is active
+ A REPL is provided if =utop= is installed and =:tools eval= is active
+ If =:editor format= is enabled, the =ocamlformat= executable is available and
there is an =.ocamlformat= file present then =format-all-buffer= is bound to

View file

@ -18,7 +18,7 @@
(tuareg-opam-update-env (tuareg-opam-current-compiler))
;; Spell-check comments
(when (featurep! :tools flyspell)
(when (featurep! :checkers spell)
(add-hook 'tuareg-mode-local-vars-hook #'flyspell-prog-mode))
;; Ensure asterixes in block comments have at least one space of indentation
@ -65,7 +65,7 @@
"t" #'merlin-type-enclosing)
(use-package! flycheck-ocaml
:when (featurep! :tools flycheck)
:when (featurep! :checkers syntax)
:hook (merlin-mode . +ocaml-init-flycheck-h)
:config
(defun +ocaml-init-flycheck-h ()

View file

@ -6,7 +6,7 @@
(unless (featurep! +lsp)
(package! merlin)
(package! merlin-eldoc)
(when (featurep! :tools flycheck)
(when (featurep! :checkers syntax)
(package! flycheck-ocaml)))
(package! ocp-indent)