Giter Club home page Giter Club logo

Comments (8)

lewis6991 avatar lewis6991 commented on May 20, 2024 2

Thanks for this. I haven't considered this scenario. I'll reopen and try and fix this.

Also many thanks for the minimal steps to reproduce. That makes dealing with this so much easier!

from gitsigns.nvim.

tamago324 avatar tamago324 commented on May 20, 2024

You are making an error, explicitly.

local index = gitdir..'/index'
if not path_exists(index) then
error('Cannot find index file: '..index)
return
end

I'm really sorry.
I am so embarrassed.

from gitsigns.nvim.

tamago324 avatar tamago324 commented on May 20, 2024

As a suggestion, how about using print instead of error?
I was a little concerned about getting an error every time I open a file.

from gitsigns.nvim.

tamago324 avatar tamago324 commented on May 20, 2024

In case of an error(), I had to press Enter each time, which I found annoying.

image

from gitsigns.nvim.

tamago324 avatar tamago324 commented on May 20, 2024

Thank you very much.

Thanks to the issues template, I was able to quickly create issues.

from gitsigns.nvim.

sunjon avatar sunjon commented on May 20, 2024

I'd noticed this bug too, but had been too busy to eliminate wether there was an issue in my setup (I'd been playing with the statusline handlers at the time). FWIW I believe the last commit before this issue was:

9c49451bfd85f397b38ec2362674ac06bf9f3d36

from gitsigns.nvim.

lewis6991 avatar lewis6991 commented on May 20, 2024

Could someone kindly try out #50, It should fix this issue.

from gitsigns.nvim.

tamago324 avatar tamago324 commented on May 20, 2024

@lewis6991 Thank you! I have confirmed that it has been fixed 👍

from gitsigns.nvim.

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.