easymotion / vim-easymotion

Vim motions on speed!
http://www.vim.org/scripts/script.php?script_id=3526
7.44k stars 357 forks source link

very slow motion when use foldexpr and same buffer in multiple window #460

Open SolaWing opened 3 years ago

SolaWing commented 3 years ago

reproduce step:

  1. in nvim 5.0 head
  2. use nvim-treesitter,
  3. foldmethod=expr, foldexpr=nvim_treesitter#foldexpr()
  4. edit a file, split it, so the buffer visible in multiple window
  5. trigger a easymotion, like line jump jk.
  6. jump is very slow, will consume several seconds..

profile.txt