How to make ALE completion window to appear upon a key-stroke? #4079
Replies: 3 comments
-
Reading the help on ale-completion:
Not tested but I think this means that you can unset g:ale_completion_enabled, set the omnifunc to ALE's OmniFunc and then use the default CTRL-X CTRL-O to invoke the auto-completion. |
Beta Was this translation helpful? Give feedback.
-
This does not work! Issue has been posted |
Beta Was this translation helpful? Give feedback.
-
I just tried again with the following (and latest version) and it worked. Thought it took a good 30 seconds to get the first result. After that things went smoothly. Perhaps there is a lazy loading of the tsserver (LSP) happening?
A tip is to use the (not documented) insert mode map they add for you CTRL+X CTRL+O CTRL+P which immediately runs the completion and opens the popup menu without filling in while after that CTRL+X CTRL+O seems to work as expected. |
Beta Was this translation helpful? Give feedback.
-
The more I learn about
ALE
, the more I like it! :)Today, I have discovered this
let g:ale_completion_enabled = 1
that works fantastic!
However, I find quite annoying that the completion window pop-up while I am typing.
Would that be possible to make it to appear only upon a certain key combination/keystroke, for example by pressing
<tab>
(or better, by exploiting supertab?)Many thanks! :)
Beta Was this translation helpful? Give feedback.
All reactions