Skip to content

Commit f20ac9b

Browse files
committed
fix coqdocjs for Set Default Proof Using commands
1 parent 99f4c20 commit f20ac9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/coqdocjs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ function isVernacStart(l, t){
8282
}
8383

8484
function isProofStart(n){
85-
return isVernacStart(["Proof"], n.textContent) ||
85+
return (isVernacStart(["Proof"], n.textContent) && !isVernacStart(["Using"], n.nextSibling.nextSibling.textContent)) ||
8686
(isVernacStart(["Next"], n.textContent) && isVernacStart(["Obligation"], n.nextSibling.nextSibling.textContent));
8787
}
8888

0 commit comments

Comments
 (0)