-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vim-markbar may be incompatible with vim-signature? #8
Comments
I should add that the plugin commits are as follows:
I think they are all the latest at time of writing. |
Thanks for the report! I've been able to replicate this on my machine, and I'll start working on a fix! |
I think I've tracked down the issue! Based on the callstack in the error message you posted, line 282 in Netrw's That turns out to be line 4780 in endif
NetrwKeepj call s:SetRexDir(a:islocal,dirname)
norm m` " <-- this one
elseif exists("w:netrw_liststyle") && w:netrw_liststyle == s:TREELIST && exists("w:netrw_treedict") I'm still not sure why this line only throws an error if vim-signature is enabled, but changing that line to The elegant/permanent fix for this problem is probably involves opening a pull request in the vim/neovim repos, but since that might take a while, I'll see if I can figure out how to "hide" markbar from Netrw in the meantime! |
Add logic to silently refuse to open the peekaboo markbar if the current buffer trips a test held inside `g:markbar_peekaboo_invocation_filters`. For now, this prevents the peekaboo markbar from opening inside of netrw buffers. Addresses Issue #8.
Just pushed a fix to Thanks so much for your help! |
Just tested this. Works perfectly! Thanks again for the very prompt response. |
It's my pleasure! 😄 |
I've been seeing random bugs related to Netrw and markbar for a few weeks. I think I've isolated the problem a bit...
To recreate:
nvim v0.3.1 on OS X (exact version/OS probably doesn't matter).
With a
~/.config/nvim/init.vim
of:(and vim-plug installed, i.e. https://github.com/junegunn/vim-plug/blob/master/plug.vim in
~/.config/nvim/autoload
- although I suspect the plugin manager doesn't matter).I open nvim just by typing
nvim
. I hit-
twice to navigate up to the parent directory, then again for its parent (this is a featurevim-vinegar
provides but I don't think it's directly related to the bug as I've seen it in other places, just not easily recreatable).I now see an error that looks like this:
Judging by the error, it looks like some interaction error between
vim-signature
andvim-markbar
, but I'm not sure which is at fault. Sorry I haven't dug any further.Thanks again for all your work on
vim-markbar
- great plugin!The text was updated successfully, but these errors were encountered: