Not so terrible, just causes a 100% CPU process to start (CSS Language Server). Need to kill it from htop as it's unlikely to die by itself even if you close VS Code.
Cubic complexity issue is in folding marker regex ^\s*\/\*\s*#region\b\s*(.*?)\s*\*\/
where spaces match \s*
(.*?)
and the following \s*
.
/*#region