Continuous insomnia was more common in patients with anti-CASPR2 encephalitis than with anti-LGI1 encephalitis. The gene discussed is CNTNAP2; the disease is insomnia measurement.