Liithium battery are affected by Heat. If your laptop battery get warm while plugged, unplug it or get it down to 50 % then recharge it.
But, with laptop (and for car battery) when battery is full, power pack stops recharging your laptop and bypass battery system to gives power directly to the board just as a PSU would do to a desktop computer. so keeping it fully charged while plugging it isn't going to decrease battery life unless, again, your laptop is getting your battery warm.
here is a guide on how this works and how to keep your battery healthy:
http://batterycare.net/en/guide.html
Remember: worst enemy of lithium battery = heat
This apply to your cellphone too !