From e74d43fb2554c055df1195eb818315d756dd0b82 Mon Sep 17 00:00:00 2001 From: w0rp Date: Mon, 19 Nov 2018 20:14:22 +0000 Subject: [PATCH] Fix #2084 - Disable mix by default, as it causes too many problems --- autoload/ale/linter.vim | 1 + doc/ale-elixir.txt | 5 +++++ doc/ale.txt | 1 + 3 files changed, 7 insertions(+) diff --git a/autoload/ale/linter.vim b/autoload/ale/linter.vim index 0a249282..1cbc9ffe 100644 --- a/autoload/ale/linter.vim +++ b/autoload/ale/linter.vim @@ -32,6 +32,7 @@ let s:default_ale_linter_aliases = { " NOTE: Update the g:ale_linters documentation when modifying this. let s:default_ale_linters = { \ 'csh': ['shell'], +\ 'elixir': ['credo', 'dialyxir', 'dogma', 'elixir-ls'], \ 'go': ['gofmt', 'golint', 'go vet'], \ 'hack': ['hack'], \ 'help': [], diff --git a/doc/ale-elixir.txt b/doc/ale-elixir.txt index 30ec3be1..45c6de1d 100644 --- a/doc/ale-elixir.txt +++ b/doc/ale-elixir.txt @@ -5,6 +5,11 @@ ALE Elixir Integration *ale-elixir-options* =============================================================================== mix *ale-elixir-mix* + +The `mix` linter is disabled by default, as it can bee too expensive to run. +See `:help g:ale_linters` + + g:ale_elixir_mix_options *g:ale_elixir_mix_options* *b:ale_elixir_mix_options* Type: |String| diff --git a/doc/ale.txt b/doc/ale.txt index 8c617420..d438f70f 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -1422,6 +1422,7 @@ g:ale_linters *g:ale_linters* { \ 'csh': ['shell'], + \ 'elixir': ['credo', 'dialyxir', 'dogma', 'elixir-ls'], \ 'go': ['gofmt', 'golint', 'go vet'], \ 'hack': ['hack'], \ 'help': [],