Simulation unimplemented dot command

Using KiCad 8.0.5 (release build), which uses ngspice 42. I have been trying to put a linear regulator into my schematic for simulation but keep seeing the same error:

Note: Compatibility modes selected: ps lt a
Circuit: KiCad schematic
Error on line 826 or its substitute:
..............................................................................
unimplemented dot command '..............................................................................'
Error: circuit not parsed.

I have tried several 78xx models, as well as the LM317 and LM337 models from this library, which was linked from another forum post:
ltspice-misc/models/regulators.lib at master · kafana/ltspice-misc · GitHub

I have also tried swapping pins around with no luck. Line 826 in the library file doesn’t seem to have anything obvious wrong with it.

Am I missing something? Thanks in advance.

Error was actually on line 884 (‘…’), but the model still seems to have many errors. I’m guessing this is more a model problem than an ngspice problem.

I have never tried to simulate regulators (what you want to find that is not in datasheet?).
Long time ago (10…15 years) I have seen info that LTSpice was intended by LT to simulate mainly its DCDC ICs. As it has probably specialized commands for that than may be its linear regulator models also uses them and that way are not compatible with other Spices.