If your inverter really is only to power the laptop, I'm a big fan of a 12V dc-dc converter instead:
there's many available, and sometimes it's a bit of a gamble whether you can find one with an adapter that fits.
or if it's usb-c:
(I haven't bought these particular ones before - I just did 3 seconds of searching)