vim-iced icon indicating copy to clipboard operation
vim-iced copied to clipboard

Enable sideloader flag doesn't work

Open Deraen opened this issue 9 months ago • 0 comments

Based on the docs g:iced#nrepl#enable_sideloader should make starting the sideloader automatic, but it doesn't seem to work.

Looking at the code, in nrepl.vim:

s:warm_up is responsible for checking the enable_sideloader flag and calling sideloader start.

s:connected should call s:warm_up BUT that code is after !iced#nrepl#is_supported_op('iced-version') check which returns an error if the op isn't available. So the if the middleware isn't available already, s:warm_up isn't called and the sideloader start isn't called automatically when it is needed.

Deraen avatar May 22 '24 13:05 Deraen