mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
Enable autoimport by default (#4102)
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user