This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+lang
Didier A 58dcd6320b [clojure] Added support for joker linter and having mutliple active linters
The variable clojure-enable-linters can now be set to a list of linters:

'(clj-kondo joker)
  or
'(joker squiggly)
  or any other combination of the available linters.

In which case, all linters in the list will be active if they are
available to be. In that flycheck is configured so that each linter
in the list has as next-checker the next linter in the list.

The variable can also now be set to:

'joker

If only the newly added joker linter should be used.

This will pull down flycheck-joker and add Joker as a checker for
Clojure modes.

--

Implementation Details

The way it works is that for each Clojure linting mode, clj, cljc,
cljs and edn, a primary linter is chosen based on the order the
user specifies in clojure-enable-linters which support that mode.
It is made the primary linter for flycheck to use by being promoted
to the front of the flycheck-checkers list. All other linters specified
by the user which the mode also supports get added to it as a
next-checker.

Tested with clj-kondo, joker and squiggly. The only issue I saw was that
the way flycheck-clojure works, and the way I currently have setup the
logic for multiple checkers mean that we can't add to a mode multiple
checkers for the same linter. flycheck-clojure has eastwood, kibit and
core.typed. If you have it configured to use eastwood linter, then it
will all work, as eastwood gets added as the next-checker. But if you
have it disabled in flycheck-clojure, there won't be any
flycheck-clojure linters to activate. I'm not sure as of now how to best
support that. Ideally, we would not clubber linters into a single packge
like that, and so the layer would have instead of squiggly: eastwood,
kibit, core.typed. But that's not how flycheck-clojure works. Future
commit might be able to do something smarter about this.
2019-10-20 00:23:58 +02:00
..
agda Fix #9429: Make agda layer retain indentation on paste. 2019-09-28 14:23:17 +02:00
alda
asciidoc
asm Add jump handlers for nasm-mode 2019-08-09 13:28:55 +02:00
autohotkey Add names to autohotkey mode prefixes 2019-08-08 12:53:16 +02:00
bibtex
c-c++ Update references to macOS 2019-10-13 12:04:40 +02:00
clojure [clojure] Added support for joker linter and having mutliple active linters 2019-10-20 00:23:58 +02:00
coffeescript [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
common-lisp
conda [conda] Revise conda layer 2019-10-19 21:06:57 +02:00
coq Update references to macOS 2019-10-13 12:04:40 +02:00
crystal
csharp
csv
d
dart [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
dhall
elixir [elixir] Enable evil-matchit in elixir mode 2019-10-19 10:47:28 +02:00
elm Update references to macOS 2019-10-13 12:04:40 +02:00
emacs-lisp Correct function-format keybinding in EL layer 2019-09-16 20:30:51 +02:00
erlang
ess
factor
faust
forth
fsharp
go [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
gpu
graphviz
groovy
haskell [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
html add lsp for html buffer 2019-10-09 15:29:29 +02:00
hy [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
idris
ipython-notebook Add a way to start an EIN Jupyter server from Spacemacs's UI 2019-10-18 20:59:09 +02:00
java [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
javascript [javascript] Document layer var: javascript-fmt-on-save 2019-10-19 21:32:42 +02:00
jr
json [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
jsonnet Fixes flycheck support in jsonnet files 2019-07-06 18:59:38 +02:00
julia [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
kivy Add kivy layer 2019-08-26 17:09:46 +02:00
kotlin
latex add bindings to navigate between errors in tex mode 2019-06-28 20:32:11 +02:00
lua
major-modes Add kivy layer 2019-08-26 17:09:46 +02:00
markdown fix documentation in markdown layer 2019-10-13 16:22:44 +02:00
mercury-layer Fix documentation for key bindings 2019-10-13 10:46:45 +02:00
nim
ocaml
octave [doc] Fix typos and add missing/remove extra ~ 2019-06-01 20:40:22 +02:00
pact
perl5 Improve point handling in perltidy functions 2019-06-21 19:04:34 +02:00
perl6
php [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
plantuml Add instructions to PlantUML README to set exec-mode accordingly 2019-10-06 21:16:05 +02:00
prolog
protobuf
purescript [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
python [python] update jedi instructions 2019-10-14 22:18:11 +02:00
racket Update references to macOS 2019-10-13 12:04:40 +02:00
reasonml [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
restructuredtext
ruby [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
rust [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
scala Update references to macOS 2019-10-13 12:04:40 +02:00
scheme [doc] Fix typos and add missing/remove extra ~ 2019-06-01 20:40:22 +02:00
semantic-web
shell-scripts [core] Fix layer dependencies based on layer variables 2019-09-30 02:00:48 -04:00
sml [doc] Fix typos and add missing/remove extra ~ 2019-06-01 20:40:22 +02:00
sql [sql] Add SPC m g prefix: goto 2019-07-13 16:06:53 +02:00
swift Update references to macOS 2019-10-13 12:04:40 +02:00
typescript Add available formatters to typescript readme 2019-10-18 22:39:44 +02:00
vimscript
windows-scripts
yaml
yang
zig documentation formatting: Mon Aug 12 19:50:23 UTC 2019 2019-08-13 01:09:55 +02:00