aboutsummaryrefslogtreecommitdiffhomepage
path: root/ide/coq.lang
diff options
context:
space:
mode:
authorGravatar Guillaume Melquiond <guillaume.melquiond@inria.fr>2014-04-28 11:54:11 +0200
committerGravatar Guillaume Melquiond <guillaume.melquiond@inria.fr>2014-04-28 11:54:11 +0200
commit2bcb2cb8ddadbaf2e5b6d4abbfdbdf3bc88cc4c6 (patch)
tree05ee31b54a045a55e786f20b2e9d1c77a9dee7ec /ide/coq.lang
parent8d3c142ec750612b7d02777ff2d6fd5286fb683d (diff)
Fix incorrect syntax highlighting after the Goal command.
Diffstat (limited to 'ide/coq.lang')
-rw-r--r--ide/coq.lang3
1 files changed, 1 insertions, 2 deletions
diff --git a/ide/coq.lang b/ide/coq.lang
index 26a92cf95..1cb95e535 100644
--- a/ide/coq.lang
+++ b/ide/coq.lang
@@ -34,7 +34,7 @@
<define-regex id="locality">(((Local)|(Global))\%{space}+)?</define-regex>
<define-regex id="begin_proof">(Theorem)|(Lemma)|(Fact)|(Remark)|(Corollary)|(Proposition)|(Property)</define-regex>
<define-regex id="end_proof">(Qed)|(Defined)|(Admitted)|(Abort)</define-regex>
- <define-regex id="decl_head">((?'gal'\%{locality}(Program\%{space}+)?(\%{single_decl}|\%{begin_proof}))\%{space}+(?'id'\%{ident}))|((?'gal4list'\%{mult_decl})(?'id_list'(\%{space}+\%{ident})*))</define-regex>
+ <define-regex id="decl_head">((?'gal'\%{locality}(Program\%{space}+)?(\%{single_decl}|\%{begin_proof}))\%{space}+(?'id'\%{ident}))|((?'gal4list'\%{mult_decl})(?'id_list'(\%{space}+\%{ident})*))|(?'gal'Goal')</define-regex>
<context id="escape-seq" style-ref="escape">
<match>""</match>
@@ -150,7 +150,6 @@
<keyword>Eval</keyword>
<keyword>Load</keyword>
<keyword>Undo</keyword>
- <keyword>Goal</keyword>
<keyword>Print</keyword>
<keyword>Save</keyword>
<keyword>Comments</keyword>