Giter Site home page Giter Site logo

Comments (2)

dajva avatar dajva commented on September 25, 2024

Oh, missed this issue for some reason. Yeah, I kind of have the same problem myself but fixed it in the early days of this package so have totally forgot it.
The workaround I am using is to define my own filter for C++, containing some additional non standard extension IIRC. In any case your own custom type aliases in rg-custom-type-aliases will be selected first. Not sure if you can use the same identifier as builtins though.

Not sure what solution would be good here though. Just removing aliases may not fit all if you for instance want c-mode in pure c files. Personally I use my own c++ alias but sometimes use the h alias to only search in header files. Maybe some kind of reordering or prioritization of aliases may solve most of these problems. Or do you see some case that would not work for your use cases?

from rg.el.

dajva avatar dajva commented on September 25, 2024

Added an implementation of prioritized type aliases. Let me know if it solves your problems.

from rg.el.

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.