Giter VIP home page Giter VIP logo

Comments (3)

wolandark avatar wolandark commented on May 27, 2024

Hi. try disabling syntastic. It would also be helpful to know the error msg and your vim version. cheers

from wim.

wolandark avatar wolandark commented on May 27, 2024

Im going to close this since there is no reply

from wim.

jkrause1 avatar jkrause1 commented on May 27, 2024

This is actually still an issue.

I don't know how to disable syntastic, a quick google search brought up nothing, and an issue on their repository even suggests they don't even have such a basic feature as just disabling it. That alone was enough to cause a meltdown for me today ...

Take the following code example

#include<iostream>
#include<functional>

class Test{
    public:
        Test(int value);
        int TestFunction(int a, int b);
    private:
        int c;
};

Test::Test(int value){
    this->c = value;
}

int Test::TestFunction(int a, int b){
    int result = a + b + this->c;
    return result;
}

int main(int argc, char** argv){
    Test stuff(5);

    int result = stuff.TestFunction(2, 4);
    std::cout << result << std::endl;

    std::function<int(int,int)> f = std::bind(&Test::TestFunction, stuff);
    result = f(1, 2);
    std::cout << result << std::endl;

    return EXIT_SUCCESS;
}

Save it somewhere, and have coc-clangd installed for c++ stuff.

Now, open that file with wim and it will keep jumping into the functional library, 'cause it suspects the error in there. From this point on, it is not possible anymore to open the original file, as it will always jump into the wrong place.

from wim.

Related Issues (6)

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.