kovisoft / slimv

Official mirror of Slimv versions released on vim.org
455 stars 60 forks source link

Strange behavior with which-key.nvim #139

Closed remexre closed 2 months ago

remexre commented 5 months ago

slimv seems to conflict with which-key.nvim in a very strange way. At first, I thought it simply wasn't working, but the latest time I've tried to reproduce it, running call SlimvEvalDefun() (whether from the keybind or from :), it sent a defun from an unrelated piece of code in a different project, but still in the package of the file that was currently open. It also put a newline after the current defun.

kovisoft commented 5 months ago

Please add this to your .vimrc:

let g:swank_log = 1

This will enable logging the communication between slimv and the swank server. Then please try to reproduce the issue. There will be a swank.log file created in the current directory. Please send me that file (you can find my email in the documentation). Or just paste here the relevant part around the area where the unrelated piece of code is sent to the swank server. Thanks for the assistance.