oni icon indicating copy to clipboard operation
oni copied to clipboard

autocomplete breaks insert command

Open escorponox opened this issue 8 years ago • 2 comments

Oni Version: 0.3.4 Neovim Version (Linux only): 0.2.2 Operating System: Linux Mint

Describe your issue

When I write al, autocomplete to alignItems and back to normal mode, if I hit . it inserts only al.

Expected behaviour

Insert all the inserted text

Actual behaviour

It only inserts the typed text, not the whole autocompleted text.

Steps to reproduce

Use autocomplete and try to repeat that insert.

escorponox avatar May 29 '18 08:05 escorponox

Hello and welcome to the Oni repository! Thanks for opening your first issue here. To help us out, please make sure to include as much detail as possible - including screenshots and logs, if possible.

oni-bot avatar May 29 '18 08:05 oni-bot

Hey! Thanks for raising this issue, I know I've started to run into it a bunch recently.

It looks like we have an issue already to cover both it and the same issue with the auto insertion of parens (#1200), so I'll close this out for now. Might be worth sticking +1 on that issue as well though, but I know it is annoying to do a macro and then find either it half typed, or with weird parenthesis.

CrossR avatar May 29 '18 10:05 CrossR