uga-rosa / denippet.vim

A snippet plugin for Vim/Neovim, powered by TypeScript
MIT License
30 stars 1 forks source link

Jump to wrong postion when expand nested anonymous snippet #18

Closed kuuote closed 10 months ago

kuuote commented 10 months ago

To Reproduce

  1. Execute inoremap <C-a> <Cmd>call denippet#anonymous('($1)$0')<CR>

  2. Execute inoremap <C-f> <Plug>(denippet-jump-next)

  3. type <C-a>hoge<C-a>hoge<C-f><C-f>

cursor position is (hoge(ho|ge))