summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/CONTRIBUTING.md2
-rw-r--r--autoload/ale/lsp/response.vim2
-rw-r--r--autoload/ale/python.vim1
-rw-r--r--doc/ale-python.txt1
-rw-r--r--doc/ale-rust.txt5
-rw-r--r--doc/ale.txt10
6 files changed, 17 insertions, 4 deletions
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index e59f8326..f2e7474c 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -3,7 +3,7 @@
Have fun, and work on whatever floats your boat. Take It Easy :tm:.
For help with contributing to ALE, see `:help ale-development` in Vim, or view
-the help file online [here](/w0rp/ale/blob/master/doc/ale-development.txt).
+the help file online [here](/doc/ale-development.txt).
## Creating Issues
diff --git a/autoload/ale/lsp/response.vim b/autoload/ale/lsp/response.vim
index b389ab18..561be62e 100644
--- a/autoload/ale/lsp/response.vim
+++ b/autoload/ale/lsp/response.vim
@@ -120,7 +120,7 @@ function! ale#lsp#response#GetErrorMessage(response) abort
if type(l:error_data) is v:t_string
let l:message .= "\n" . l:error_data
- else
+ elseif type(l:error_data) is v:t_dict
let l:traceback = get(l:error_data, 'traceback', [])
if type(l:traceback) is v:t_list && !empty(l:traceback)
diff --git a/autoload/ale/python.vim b/autoload/ale/python.vim
index bc1cc980..1f963431 100644
--- a/autoload/ale/python.vim
+++ b/autoload/ale/python.vim
@@ -24,6 +24,7 @@ function! ale#python#FindProjectRootIni(buffer) abort
\|| filereadable(l:path . '/mypy.ini')
\|| filereadable(l:path . '/pycodestyle.cfg')
\|| filereadable(l:path . '/flake8.cfg')
+ \|| filereadable(l:path . '/.flake8rc')
\|| filereadable(l:path . '/Pipfile')
\|| filereadable(l:path . '/Pipfile.lock')
return l:path
diff --git a/doc/ale-python.txt b/doc/ale-python.txt
index 093ea758..b5c469b1 100644
--- a/doc/ale-python.txt
+++ b/doc/ale-python.txt
@@ -22,6 +22,7 @@ ALE will look for configuration files with the following filenames. >
mypy.ini
pycodestyle.cfg
flake8.cfg
+ .flake8rc
Pipfile
Pipfile.lock
<
diff --git a/doc/ale-rust.txt b/doc/ale-rust.txt
index d61e5b55..a360dce6 100644
--- a/doc/ale-rust.txt
+++ b/doc/ale-rust.txt
@@ -5,8 +5,9 @@ ALE Rust Integration *ale-rust-options*
===============================================================================
Integration Information
- Since Vim does not detect the rust file type out-of-the-box, you need the
- runtime files for rust from here: https://github.com/rust-lang/rust.vim
+ If Vim does not detect the Rust file type out-of-the-box, you need the runtime
+ files for Rust distributed in Vim >=8.0.0501 or upstream:
+ https://github.com/rust-lang/rust.vim
Note that there are three possible linters for Rust files:
diff --git a/doc/ale.txt b/doc/ale.txt
index d6a80acc..d4b51850 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -669,6 +669,16 @@ items can be controlled with |g:ale_completion_max_suggestions|.
If you don't like some of the suggestions you see, you can filter them out
with |g:ale_completion_excluded_words| or |b:ale_completion_excluded_words|.
+ *ale-completion-completopt-bug*
+
+ALE implements completion as you type by temporarily adjusting |completeopt|
+before opening the omnicomplete menu with <C-x><C-o>. In some versions of Vim,
+the value set for the option will not be respected. If you experience issues
+with Vim automatically inserting text while you type, set the following option
+in vimrc, and your issues should go away. >
+
+ set completeopt=menu,menuone,preview,noselect,noinsert
+<
-------------------------------------------------------------------------------
5.2 Go To Definition *ale-go-to-definition*