-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feedkeys not working? #27
Comments
You have to use
While |
Thanks for the reply! That makes sense, but what I'm actually trying to do though is simulate triggering omnicomplete with |
Try |
I can't get that to work. Even if I try just If I remove the quotes, then is inserted into the document. Thanks for your help. Maybe it's not possible. |
Don't remove |
I should have mentioned, I tried that first of all before I started trying to change the command. It has no effect. |
This doesn't seem to be a vspec issue. Feel free to close. Thanks anyway! |
I confirmed filetype plugin on
describe ':normal'
before
enew!
setfiletype html
end
it 'can invoke omni completion'
execute 'normal!' "a<div i\<C-x>\<C-o>"
Expect getline(1) ==# '<div id="'
end
end |
If you still have troubles, please paste the actual test script you wrote. I couldn't give a proper advice without it. |
Your script works for me too. Thank you so much for your time. I appreciate it! I need to dig around a bit more to see what I'm doing wrong in my script. |
I added notes on how to emulate user input into the document. |
Hi,
I am having trouble getting feedkeys to work. Not sure if it's an issue with the vspec plugin or if I am doing something wrong (My vimscript is pretty weak)
Here's an example :-
Output :-
The text was updated successfully, but these errors were encountered: