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

@ -42,7 +42,7 @@
Each entry is a three-level tree. For example:
(:feature (version-control (:emacs vc) (:ui vc-gutter))
(spellcheck (:tools flyspell))
(spellcheck (:checkers spell))
(syntax-checker (:tools flycheck)))
This marks :feature version-control, :feature spellcheck and :feature

View file

@ -176,7 +176,7 @@ playback.")
(define-key lui-mode-map "\C-u" #'lui-kill-to-beginning-of-line)
(setq lui-fill-type nil)
(when (featurep! :tools flyspell)
(when (featurep! :checkers spell)
(setq lui-flyspell-p t))
(after! evil

View file

@ -617,7 +617,7 @@
(:when (featurep! :lang org +present)
:desc "org-tree-slide mode" "p" #'+org-present/start)
:desc "Read-only mode" "r" #'read-only-mode
(:when (featurep! :tools flyspell)
(:when (featurep! :checkers spell)
:desc "Flyspell" "s" #'flyspell-mode)
(:when (featurep! :lang org +pomodoro)
:desc "Pomodoro timer" "t" #'org-pomodoro)

View file

@ -91,7 +91,7 @@
(defadvice! +mu4e--refresh-current-view-a (&rest _)
:after #'mu4e-mark-execute-all (mu4e-headers-rerun-search))
(when (featurep! :tools flyspell)
(when (featurep! :checkers spell)
(add-hook 'mu4e-compose-mode-hook #'flyspell-mode))
;; Wrap text in messages

View file

@ -141,7 +141,7 @@ This is ignored by ccls.")
:hook (irony-mode . irony-eldoc))
(use-package! flycheck-irony
:when (featurep! :tools flycheck)
:when (featurep! :checkers syntax)
:config (flycheck-irony-setup))
(use-package! company-irony

View file

@ -16,7 +16,7 @@
(package! ccls)
(when (package! irony)
(package! irony-eldoc)
(when (featurep! :tools flycheck)
(when (featurep! :checkers syntax)
(package! flycheck-irony))
(when (featurep! :completion company)
(package! company-irony)

View file

@ -158,5 +158,5 @@
(use-package! flycheck-joker
:when (featurep! :tools flycheck)
:when (featurep! :checkers syntax)
:after flycheck)

View file

@ -4,5 +4,5 @@
(package! cider)
(package! clj-refactor)
(when (featurep! :tools flycheck)
(when (featurep! :checkers syntax)
(package! flycheck-joker))

View file

@ -11,12 +11,12 @@
(use-package! flycheck-crystal
:when (featurep! :tools flycheck)
:when (featurep! :checkers syntax)
:after crystal-mode)
(use-package! flycheck-ameba
:when (featurep! :tools flycheck)
:when (featurep! :checkers syntax)
:after crystal-mode
:config (flycheck-ameba-setup))

View file

@ -3,6 +3,6 @@
(package! crystal-mode)
(package! inf-crystal)
(when (featurep! :tools flycheck)
(when (featurep! :checkers syntax)
(package! flycheck-crystal)
(package! flycheck-ameba))

View file

@ -33,7 +33,7 @@ manager or a version management tool such as [[https://github.com/asdf-vm/asdf-e
If you want to add support for LSP ([[modules/tools/lsp][:tools lsp]]), be sure to install [[https://github.com/JakeBecker/elixir-ls/][elixir-ls]]
and enable ~:tools lsp~ in your ~init.el~.
To support linting with [[https://github.com/rrrene/credo][credo]], add ~:tools flycheck~ to your ~init.el~
To support linting with [[https://github.com/rrrene/credo][credo]], add ~:checkers syntax~ to your ~init.el~
** Install Elixir
*** With ~asdf~
#+BEGIN_SRC sh
@ -59,4 +59,4 @@ sudo zypper install elixir
- Mix integration
- Phoenix support
- ~iex~ integration (~:tools eval~)
- Syntax checking (~:tools flycheck~, using [[https://github.com/aaronjensen/flycheck-credo][flycheck-credo]]~)
- Syntax checking (~:checkers syntax~, using [[https://github.com/aaronjensen/flycheck-credo][flycheck-credo]]~)

View file

@ -17,6 +17,6 @@
(use-package! flycheck-elm
:when (featurep! :tools flycheck)
:when (featurep! :checkers syntax)
:after elm-mode
:config (add-to-list 'flycheck-checkers 'elm nil #'eq))

View file

@ -2,6 +2,6 @@
;;; lang/elm/packages.el
(package! elm-mode)
(when (featurep! :tools flycheck)
(when (featurep! :checkers syntax)
(package! flycheck-elm))

View file

@ -129,7 +129,7 @@ This marks a foldable marker for `outline-minor-mode' in elisp buffers.")
(use-package! flycheck-cask
:when (featurep! :tools flycheck)
:when (featurep! :checkers syntax)
:defer t
:init
(add-hook! 'emacs-lisp-mode-hook

View file

@ -9,7 +9,7 @@
(package! elisp-def)
(package! elisp-demos)
(when (featurep! :tools flycheck)
(when (featurep! :checkers syntax)
(package! flycheck-cask))
(package! buttercup)

View file

@ -7,7 +7,7 @@
(use-package! flycheck-rebar3
:when (featurep! :tools flycheck)
:when (featurep! :checkers syntax)
:after flycheck
:config (flycheck-rebar3-setup))

View file

@ -3,7 +3,7 @@
(package! erlang)
(when (featurep! :tools flycheck)
(when (featurep! :checkers syntax)
(package! flycheck-rebar3))
(when (featurep! :completion ivy)

View file

@ -14,7 +14,7 @@
(add-to-list 'auto-mode-alist '("\\.jl\\'" . ess-julia-mode)))
:config
(setq ess-offset-continued 'straight
ess-use-flymake (not (featurep! :tools flycheck))
ess-use-flymake (not (featurep! :checkers syntax))
ess-nuke-trailing-whitespace-p t
ess-style 'DEFAULT
ess-history-directory (expand-file-name "ess-history/" doom-cache-dir))

View file

@ -40,7 +40,7 @@ This module adds [[https://golang.org][Go]] support.
+ [[https://github.com/brantou/emacs-go-tag][go-tag]]
+ [[https://github.com/mdempsky/gocode][company-go]]*
+ [[https://github.com/s-kostyaev/go-gen-test][go-gen-test]]
+ [[https://github.com/weijiangan/flycheck-golangci-lint][flycheck-golangci-lint]] (if =:tools flycheck= is enabled)
+ [[https://github.com/weijiangan/flycheck-golangci-lint][flycheck-golangci-lint]] (if =:checkers syntax= is enabled)
* Prerequisites
** Go

View file

@ -71,5 +71,5 @@
(setq company-go-show-annotation t))
(use-package! flycheck-golangci-lint
:when (featurep! :tools flycheck)
:when (featurep! :checkers syntax)
:hook (go-mode . flycheck-golangci-lint-setup))

View file

@ -11,5 +11,5 @@
(when (featurep! :completion company)
(package! company-go))
(when (featurep! :tools flycheck)
(when (featurep! :checkers syntax)
(package! flycheck-golangci-lint))

View file

@ -14,7 +14,7 @@
"-fdefer-typed-holes"
"-fdefer-type-errors"))
:config
(when (featurep! :tools flycheck)
(when (featurep! :checkers syntax)
(flycheck-add-next-checker 'haskell-dante '(warning . haskell-hlint)))
(set-company-backend! 'dante-mode #'dante-company)

View file

@ -16,7 +16,7 @@ This is necessary because `intero-mode' doesn't do its own error checks."
(setq haskell-compile-cabal-build-command "stack build --fast")
(set-lookup-handlers! 'intero-mode :definition #'intero-goto-definition)
(set-company-backend! 'intero-mode 'intero-company)
(when (featurep! :tools flycheck)
(when (featurep! :checkers syntax)
(flycheck-add-next-checker 'intero '(warning . haskell-hlint)))
(when (featurep 'evil)

View file

@ -15,7 +15,7 @@
(after! haskell-mode
(setq haskell-process-suggest-remove-import-lines t ; warnings for redundant imports etc
haskell-process-auto-import-loaded-modules t
haskell-process-show-overlays (not (featurep! :tools flycheck))) ; redundant with flycheck
haskell-process-show-overlays (not (featurep! :checkers syntax))) ; redundant with flycheck
(set-lookup-handlers! 'haskell-mode
:definition #'haskell-mode-jump-to-def-or-tag)

View file

@ -6,7 +6,7 @@
:init
(setq meghanada-server-install-dir (concat doom-etc-dir "meghanada-server/")
meghanada-use-company (featurep! :completion company)
meghanada-use-flycheck (featurep! :tools flycheck)
meghanada-use-flycheck (featurep! :checkers syntax)
meghanada-use-eldoc t
meghanada-use-auto-start t)
:config

View file

@ -79,7 +79,7 @@
(add-to-list 'magic-mode-alist '(+javascript-jsx-file-p . rjsx-mode))
:config
(set-electric! 'rjsx-mode :chars '(?\} ?\) ?. ?>))
(when (featurep! :tools flycheck)
(when (featurep! :checkers syntax)
(add-hook! 'rjsx-mode-hook
;; jshint doesn't know how to deal with jsx
(push 'javascript-jshint flycheck-disabled-checkers)))

View file

@ -14,5 +14,5 @@
(use-package! flycheck-kotlin
:when (featurep! :tools flycheck)
:when (featurep! :checkers syntax)
:hook (kotlin-mode . flycheck-kotlin-setup))

View file

@ -3,5 +3,5 @@
(package! kotlin-mode)
(when (featurep! :tools flycheck)
(when (featurep! :checkers syntax)
(package! flycheck-kotlin))

View file

@ -21,7 +21,7 @@
(use-package! flycheck-ledger
:when (featurep! :tools flycheck)
:when (featurep! :checkers syntax)
:after ledger-mode)

View file

@ -6,5 +6,5 @@
(when (featurep! :editor evil)
(package! evil-ledger))
(when (featurep! :tools flycheck)
(when (featurep! :checkers syntax)
(package! flycheck-ledger))

View file

@ -28,7 +28,7 @@
(add-hook! 'moonscript-mode-hook
#'+lua-moonscript-fix-single-quotes-h
#'+lua-moonscript-fontify-interpolation-h)
(when (featurep! :tools flycheck)
(when (featurep! :checkers syntax)
(require 'flycheck-moonscript nil t)))

View file

@ -5,7 +5,7 @@
(when (featurep! +moonscript)
(package! moonscript)
(when (featurep! :tools flycheck)
(when (featurep! :checkers syntax)
(package! flycheck-moonscript
:recipe (:host github :repo "hlissner/emacs-flycheck-moonscript"))))

View file

@ -25,6 +25,6 @@ windows."
(use-package! flycheck-nim
:when (featurep! :tools flycheck)
:when (featurep! :checkers syntax)
:after nim-mode)

View file

@ -5,5 +5,5 @@
(package! nim-mode)
(when (featurep! :tools flycheck)
(when (featurep! :checkers syntax)
(package! flycheck-nim))

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)

View file

@ -6,5 +6,5 @@
(use-package! flycheck-perl6
:when (featurep! :tools flycheck)
:when (featurep! :checkers syntax)
:after perl6-mode)

View file

@ -3,5 +3,5 @@
(package! perl6-mode)
(when (featurep! :tools flycheck)
(when (featurep! :checkers syntax)
(package! flycheck-perl6))

View file

@ -15,7 +15,7 @@
(use-package! flycheck-plantuml
:when (featurep! :tools flycheck)
:when (featurep! :checkers syntax)
:after plantuml-mode
:config (flycheck-plantuml-setup))

View file

@ -2,5 +2,5 @@
;;; lang/plantuml/packages.el
(package! plantuml-mode)
(when (featurep! :tools flycheck)
(when (featurep! :checkers syntax)
(package! flycheck-plantuml))

View file

@ -46,7 +46,7 @@ Adds Python support to Doom Emacs.
+ [[https://github.com/emacs-lsp/lsp-python-ms][lsp-python-ms]]*
+ ~+cython~
+ [[https://github.com/cython/cython/blob/master/Tools/cython-mode.el][Cython-mode]]
+ ~:tools flycheck~ [[https://github.com/lbolla/emacs-flycheck-cython/tree/master][Flycheck-cython]]
+ ~:checkers syntax~ [[https://github.com/lbolla/emacs-flycheck-cython/tree/master][Flycheck-cython]]
* Prerequisites
This module has no direct prerequisites. Here are some of its soft dependencies.

View file

@ -310,5 +310,5 @@ called.")
(use-package! flycheck-cython
:when (featurep! +cython)
:when (featurep! :tools flycheck)
:when (featurep! :checkers syntax)
:after cython-mode)

View file

@ -5,7 +5,7 @@
(package! pip-requirements)
(when (featurep! +cython)
(package! cython-mode)
(when (featurep! :tools flycheck)
(when (featurep! :checkers syntax)
(package! flycheck-cython)))
;; LSP

View file

@ -1,5 +1,5 @@
;;; lang/sh/doctor.el -*- lexical-binding: t; -*-
(when (featurep! :tools flycheck)
(when (featurep! :checkers syntax)
(unless (executable-find "shellcheck")
(warn! "Couldn't find shellcheck. Shell script linting will not work")))

View file

@ -8,7 +8,7 @@
(use-package! solidity-flycheck ; included with solidity-mode
:when (featurep! :tools flycheck)
:when (featurep! :checkers syntax)
:after solidity-mode
:config
(setq flycheck-solidity-solc-addstd-contracts t)

View file

@ -5,7 +5,7 @@
(use-package! flycheck-swift
:when (featurep! :tools flycheck)
:when (featurep! :checkers syntax)
:unless (featurep! +lsp)
:after swift-mode
:config (flycheck-swift-setup))

View file

@ -7,5 +7,5 @@
(package! lsp-sourcekit)
(when (featurep! :completion company)
(package! company-sourcekit))
(when (featurep! :tools flycheck)
(when (featurep! :checkers syntax)
(package! flycheck-swift)))