diff options
author | w0rp <w0rp@users.noreply.github.com> | 2020-08-09 01:32:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-09 01:32:27 +0100 |
commit | 8bfb5c64073cf12018e5b7e115867b2ef4dfa7e0 (patch) | |
tree | 872bd1184510a99d263860dd19998c8663b0c754 /doc/ale.txt | |
parent | 2d174db5b2a9a405285fa58eb37f508aee4726bf (diff) | |
parent | 4222f32cc4d2f04e2ea7764b72f9f2fe106c71d7 (diff) | |
download | ale-8bfb5c64073cf12018e5b7e115867b2ef4dfa7e0.zip |
Merge pull request #2849 from DonnieWest/excludeTsserverWarnings
Allow the user to remove warnings from completions
Diffstat (limited to 'doc/ale.txt')
-rw-r--r-- | doc/ale.txt | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/doc/ale.txt b/doc/ale.txt index e1b38292..3b90e7e0 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -420,7 +420,9 @@ completion information with Deoplete, consult Deoplete's documentation. When working with TypeScript files, ALE by can support automatic imports from external modules. This behavior can be enabled by setting the -|g:ale_completion_tsserver_autoimport| variable to `1`. +|g:ale_completion_tsserver_autoimport| variable to `1`. ALE can also remove +warnings from your completions by setting the +|g:ale_completion_tsserver_remove_warnings| variable to 1. *ale-completion-completeopt-bug* @@ -681,6 +683,14 @@ g:ale_completion_enabled *g:ale_completion_enabled* See |ale-completion| +g:ale_completion_tsserver_remove_warnings *g:ale_completion_tsserver_remove_warnings* + + Type: Number + Default: `0` + + When this option is set to `0`, ALE will return all completion items, + including those that are a warning. Warnings can be excluded from completed + items by setting it to `1`. g:ale_completion_tsserver_autoimport *g:ale_completion_tsserver_autoimport* |