Giter Club home page Giter Club logo

Comments (6)

alfredodeza avatar alfredodeza commented on July 30, 2024

When you mention windows, it makes me think that the path may have spaces in it. Is that the case? I believe that would break things, but that is fixable on the plugin's end.

If that is not the case, could you change lines 181 and 182 so that they look like this:

    echom "Current buffer " . current_buffer
    echom "path " . path

That should put the debug info into :messages, so that we know what exactly is that path and the current buffer. If you could reply with the information from those variables, that could give us some light about what is going on.

Thank you for reporting this.

from coveragepy.vim.

dusans avatar dusans commented on July 30, 2024

I dont have any spaces in the path. U mean lines 101 and 102?

from coveragepy.vim.

alfredodeza avatar alfredodeza commented on July 30, 2024

Apologies, yes, line 101 and 102.

Not having spaces is OK. Lets see what those echom say in :messages

from coveragepy.vim.

dusans avatar dusans commented on July 30, 2024

Error detected while processing function 27_Proxy..27_HighlightMissing:
line 14:
E63: invalid use of _
Current buffer Z:\ai\all\mod\m____foo\pyb\src\pyb\engine_test\test_py
path Z:\ai\all\mod\m____foo\pyb\src\pyb\engine\timestep

from coveragepy.vim.

alfredodeza avatar alfredodeza commented on July 30, 2024

OK, I can't reproduce as it seems this is a Windows-only problem.

Can you try escaping the comparison on line 103 so that it looks like:

    if fnameescape(current_buffer) =~ fnameescape(path)

And see if that fixes it?

from coveragepy.vim.

alfredodeza avatar alfredodeza commented on July 30, 2024

Closing as I was not able to reproduce and I got no feedback to implement a fix.

from coveragepy.vim.

Related Issues (18)

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.