Git Product home page Git Product logo

Comments (6)

andrewferrier avatar andrewferrier commented on May 18, 2024 1

Just tested this. Works perfectly! Thanks again for the very prompt response.

from vim-markbar.

andrewferrier avatar andrewferrier commented on May 18, 2024

I should add that the plugin commits are as follows:

  • vim-signature: 6bc3dd1294a2
  • vim-markbar: 98aeac7
  • vim-vinegar: c38ea2195a43747

I think they are all the latest at time of writing.

from vim-markbar.

Yilin-Yang avatar Yilin-Yang commented on May 18, 2024

Thanks for the report! I've been able to replicate this on my machine, and I'll start working on a fix!

from vim-markbar.

Yilin-Yang avatar Yilin-Yang commented on May 18, 2024

I think I've tracked down the issue!

Based on the callstack in the error message you posted, line 282 in Netrw's s:NetrwBrowseChgDir function is trying to open the 'backtick' peekaboo markbar, which causes an error.

That turns out to be line 4780 in [n]vim/runtime/autoload/netrw.vim, which happens to be:

   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 norm! m` (as is done elsewhere in that same file) fixes the issue on my machine.

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!

from vim-markbar.

Yilin-Yang avatar Yilin-Yang commented on May 18, 2024

Just pushed a fix to issue_8! When you have the time, could you pull from that branch and see if it fixes the issue?

Thanks so much for your help!

from vim-markbar.

Yilin-Yang avatar Yilin-Yang commented on May 18, 2024

It's my pleasure! 😄

from vim-markbar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.