Enable autoimport by default (#4102)

This commit is contained in:
Horacio Sanson
2022-03-05 04:05:41 +09:00
committed by GitHub
parent e490e87a60
commit c173b6243d
3 changed files with 16 additions and 11 deletions

View File

@@ -198,14 +198,15 @@ completion manually with `<C-x><C-o>`.
set omnifunc=ale#completion#OmniFunc
```
ALE supports automatic imports from external modules. This behavior is disabled
by default and can be enabled by setting:
ALE supports automatic imports from external modules. This behavior is enabled
by default and can be disabled by setting:
```vim
let g:ale_completion_autoimport = 1
let g:ale_completion_autoimport = 0
```
See `:help ale-completion` for more information.
Note that disabling auto import can result in missing completion items from some
LSP servers (e.g. eclipselsp). See `:help ale-completion` for more information.
<a name="usage-go-to-definition"></a>