summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2020-08-09 02:28:47 +0100
committerw0rp <devw0rp@gmail.com>2020-08-09 02:32:47 +0100
commit6d502233d849600ecb2a08227299ffea2b2ea0c7 (patch)
tree88748791203d0a8beefd2110b59819be762da9c8 /doc
parent8bfb5c64073cf12018e5b7e115867b2ef4dfa7e0 (diff)
downloadale-6d502233d849600ecb2a08227299ffea2b2ea0c7.zip
Close #3267 - Add a general autoimport setting
Diffstat (limited to 'doc')
-rw-r--r--doc/ale.txt13
1 files changed, 7 insertions, 6 deletions
diff --git a/doc/ale.txt b/doc/ale.txt
index 3b90e7e0..ef256752 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -418,11 +418,12 @@ The |ALEComplete| command can be used to show completion suggestions manually,
even when |g:ale_completion_enabled| is set to `0`. For manually requesting
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`. ALE can also remove
-warnings from your completions by setting the
-|g:ale_completion_tsserver_remove_warnings| variable to 1.
+ALE by can support automatic imports from external modules. This behavior can
+be enabled by setting the |g:ale_completion_autoimport| variable to `1`.
+
+When working with TypeScript files, ALE can remove warnings from your
+completions by setting the |g:ale_completion_tsserver_remove_warnings|
+variable to 1.
*ale-completion-completeopt-bug*
@@ -692,7 +693,7 @@ g:ale_completion_tsserver_remove_warnings *g:ale_completion_tsserver_remove_warn
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*
+g:ale_completion_autoimport *g:ale_completion_autoimport*
Type: Number
Default: `0`