Fix prettier, ensure filename is always usable
Dont give real name to prettier, instead construct one based on doc mode. This way prettier is always able to infer the correct parser and not fail on filenames like `.kateproject` which dont have a json extension.
Please register or sign in to comment