Enrico Maria De Angelis
Enrico Maria De Angelis
Well, not even the ever-green `.` works, which is a bit disappointing. However, since some things like `de` work (`dw` mistakenly does the same), I guess it could be easy...
Same error here here, but with Haskell file, so there's most likely nothing language-specific. The repro is: 1. Open a file with the following content (it will give two warings...
I think the bug is at `ReplaceChunk`, here: https://github.com/ycm-core/YouCompleteMe/blob/131b1827354871a4e984c1660b6af0fefca755c3/python/ycm/vimsupport.py#L1119 Indeed, the failure happens here: https://github.com/ycm-core/YouCompleteMe/blob/131b1827354871a4e984c1660b6af0fefca755c3/python/ycm/vimsupport.py#L1144 where `vim_buffer[ start_line ]` fails because `start_line == len(vim_buffer)`. I think the following test demonstrates...
> The issue is when the edit is right at the end of the buffer, correct? I'd say right past the end, but yeah.
> I think [this](https://github.com/puremourning/YouCompleteMe/blame/rust-qol/python/ycm/vimsupport.py#L1251) is what I tried. > > is your version better? thoughts? I don't like that `while`. Makes the reader think that `vim_buffer.append( '' )` could happen...
@puremourning , are those test failures relevant?
It happens on https://web.whatsapp.com/ as well, when focusing the "Type a message" and "Search or start new chat" edit boxes.
Emm... not that I know of. As in, I've not intentionally set any periodical cleaning of that dir (after all it is nuked at every rebook, afaik). However, even if...
I agree that it might be something else causing the behavior I observe, but unfortunately I have no idea how to verify this, because I've never worried about the `/tmp`...
> I assume it never happens for the first PDF you open? I would say you're right, but I wouldn't be my life on it. I use qutebrowser all the...