liquidz / vim-iced

Clojure Interactive Development Environment for Vim8/Neovim
https://liquidz.github.io/vim-iced/
MIT License
518 stars 35 forks source link

[question] jumplist vs taglist for `jump_to_def` #417

Closed geekingfrog closed 2 years ago

geekingfrog commented 2 years ago

Hello

I was wondering what you would think about using the jumplist instead, or alongside the taglist when using IcedDefJump. My main reasoning is that the built-in lsp for neovim is modifying the jumplist when using jump_to_def.

I recently switched to use IcedDefJump instead of the lsp corresponding feature and I'm getting very confused between the taglist and the jumplist.

What are your thoughts about that?

liquidz commented 2 years ago

@geekingfrog Thanks for your suggestion! taglist and jumplist do not conflict, so using both is not a problem.

My understanding is that the jumplist is basically recorded automatically, and there are no functions to change it explicitly. Command that will record jumplist can be found in the help, so I'll try.

https://vim-jp.org/vimdoc-en/motion.html#jump-motions

liquidz commented 2 years ago

@geekingfrog In dev branch, I've updated IcedDefJump to add jumplist correctly. Could you try dev branch?

geekingfrog commented 2 years ago

It now works with the jumplist, thanks.

liquidz commented 2 years ago

@geekingfrog Just released v3.9.3 #420