Sorry for your accident.
Don´t want to palliate your injury, but in my case some cut off tendons in my right middle finger (I`m right handed) brought me into playing bass as a kind of exercise therapy. It worked. Then I cut off the tip of my left pinky (I know- it´s not really essential for fretting.) Looks somewhat strange, but hey- it also works again. Just had to get used to it.
Modern surgery can work miracles. So hopefully you´ll have a complete recovery.
IF (!!) you´re going to end up with a shorter middlefinger and you´re righthanded (hope so!), you´ll adjust to another fretting technique.
Best wishes