tsuquyomi
tsuquyomi copied to clipboard
Completion is happening on its own (often not what I want)
Something strange is going on with auto-completion. It's a bit too automatic... It seems to autocomplete in the middle of my typing, and it really messes me up:
Another weird thing is that the behavior isn't super consistent; usually, it completes in a way that makes some sense. For example, I'll type set
and it autocompletes to size
(same first letter). Other times, it doesn't (e.g. instead of globals
in the above scenario, it will occasionally autocomplete value
, which is not at all what I'm typing).
It seems to only happen on the first attempt, and then backspacing will "fix" the problem:
However, as seen in the first example, if I go into normal mode and delete the autocompleted code, then try again, the bug occurs again.
I've tested this in both Vim 8 and NeoVim, and the behavior is the same in both. I'm using YouCompleteMe for my autocompletion. Outside of TypeScript files, I don't experience this bug, and I don't experience it within TS files if tsuquyomi is disabled.
happening to me as well.
oi, what I did was update typescript globally and restarted my computer seems to fix it.
Hrm, interesting. I've updated to 2.6.2 and restarted my computer, but it doesn't seem to fix the problem.
@GRardB try to do manual auto completion without ycm activated. If that works fine it is most likely ycm and tsuquyomi integration problem.
Weird; I was using the both for a while and had not been experiencing this. I ran into some freezing up issues that I tracked down to tsserver
reading GB 's which I think I resolved but now I'm running into this issue.
Happening to me also. And updating typescript with npm install -g typescript
appears to have fixed it.
I just wanted to chime in and say that I, too, had this problem, and npm install -g typescript
fixed it. It was great to find this issue to figure it out :)
EDIT: I spoke too soon. It looked like it fixed things but it just happened to me again.
Thanks guys, worked for me as well
This is also happening to me, I don't think the answer should be update typescript, completion works fine for my coworkers with the same version of typescript in other editors.