lacygoill

Results 127 comments of lacygoill

Also, try to get a profile: :prof start /tmp/profile.log :prof! file /path/to/ultisnips/**/*.vim :ru! /path/to/ultisnips/**/*.vim " reproduce the issue, then quit Vim; the profile should be written in `/tmp/profile.log` See `:h...

Ok, then you'll have to bisect your config to find a minimal reproducible example.

It's a side-effect of a snippet remaining active until you've reached the tabstop `0` or moved your cursor on a line outside the snippet. This allows the user to move...

> Any other comments? Apparently not many people are interested. AFAICT, the new script still works.

Understood. I removed all the extra features, which brings the number of code lines down to 184 (+ 15 lines of comments and 29 empty lines).

I've reduced the code even more. Now, it's only 95 lines of code, which is pretty much on par with the old script.

> If I paste png png png How do you paste? Which keys do you press, and from which mode?

> until I hit space/enter For me, the expansion is not triggered after pressing Enter, but it is after pressing Space. At the time you press Space, Vim has no...

Does this help? ```vim set pastetoggle= inoremap =@+=execute('autocmd SafeState * ++once autocmd TextChangedI * ++once call feedkeys("\")')[-1] ```

> I'm not familiar with Vim internals but perhaps there some state that can be updated upon exiting paste mode. For instance typing "pn", exiting insert mode, then typing "g"...