(1) if I want to stay here and get a promotion or raise, it'll be my manager approving that.
(2) if I decide to leave (the much more likely scenario), I don't care about how much credit I got here. My close coworkers know what I do/have accomplished which is all that matters for a reference.
After learning this, I've been trying to go to my manager with potential issues and solutions preemptively. I'll present a few solutions like "would it be helpful to you if you had ___ or ___?" and let her micromanage which one.
The best managers constantly are talking up people on THEIR team. They are responsible for creating an environment where people can excel. This makes them look good at a manager ("Everyone on my team consistently over-performs!"), everyone on the team looks great and it makes it easier for them to get recognition and promotions, and it makes it a very desirable team to work on which makes recruiting internally much easier.
Is this truly solely up to your immediate manager? In a lot of (most? almost all?) cases, it takes people above your manager approving it too. And if those higher-ups think that your manager did the things that are being used to justify your promotion/raise, you might not like the outcome.
Aren't you pidgin holing yourself into a 'person I can't promote as I would have no work to steal from'?