Giter Site home page Giter Site logo

Comments (7)

mhinz avatar mhinz commented on May 24, 2024

Good catch, good report. Thanks for the feedback! I'll dig into it.

from vim-signify.

willthefrog avatar willthefrog commented on May 24, 2024

You are welcome. Nice plugin btw 👍

from vim-signify.

mhinz avatar mhinz commented on May 24, 2024

Unfortunately one line won't be enough to fix this, because the problem is more complex.

Image this file:

this is line 1
this is line 2
this is line 3
this is line 4

When you change line 2 and remove line 3 you get !_ on line 2 which is correct.

But when you remove line 2 and change (the new) line 2 you should get _1 on line 1 and ! on line 2. Instead you get !_ on line 2.

That's because the diff is basically the same for both cases. I'll try to come up with a proper solution.

from vim-signify.

willthefrog avatar willthefrog commented on May 24, 2024

This seems to be separate issue and should happen regardless of netbeans integration.

A simple test confirmed that: same things happens in Arch version of vim, only it shows a ! instead of !_ on line 2.

Anyway, this is confusing. Hope you can find a way to cover all those cases.

from vim-signify.

mhinz avatar mhinz commented on May 24, 2024

This commit should work for you. it adds a lot of comments, but basically I just changed 2 small things to get the wanted behaviour.

from vim-signify.

willthefrog avatar willthefrog commented on May 24, 2024

Just tested, it's working. Thanks a lot 👍

from vim-signify.

mhinz avatar mhinz commented on May 24, 2024

Splendid!

from vim-signify.

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.