whonore / Coqtail

Interactive Coq Proofs in Vim
MIT License
274 stars 34 forks source link

"Fail Next Obligation" breaks highlighting #267

Closed bluelightning32 closed 2 years ago

bluelightning32 commented 2 years ago

Sometimes when I edit a proof, I can accidentally cause functions defined with the program tactic to get new obligations. It's hard to find those dangling obligations, because Coq allows new theorems to get started. To combat that problem, I add this after the last obligation:

Fail Next Obligation.

Unfortunately, that breaks syntax highlighting in Coqtail. See how Module ListExample, Definition, Theorem, Proof, and End ListExample are incorrectly highlighted. image