aboutsummaryrefslogtreecommitdiff
path: root/isa/isa-syntax.el
diff options
context:
space:
mode:
authorMakarius Wenzel2000-06-16 17:10:24 +0000
committerMakarius Wenzel2000-06-16 17:10:24 +0000
commit07104f014aa8a696ac1aee4f4f839c1092d1f160 (patch)
tree858a2c0e4eed84ea8147fccf06ae796be29ad641 /isa/isa-syntax.el
parent2b6e81b1f4fef8830516a6907dbe8ba8870e7ba1 (diff)
proper indentation setup;
Diffstat (limited to 'isa/isa-syntax.el')
-rw-r--r--isa/isa-syntax.el14
1 files changed, 14 insertions, 0 deletions
diff --git a/isa/isa-syntax.el b/isa/isa-syntax.el
index 99152eee..d8697cb8 100644
--- a/isa/isa-syntax.el
+++ b/isa/isa-syntax.el
@@ -287,4 +287,18 @@
isa-output-font-lock-keywords-1)
"*Font-lock table for Isabelle goals output.")
+
+;; ----- indentation
+
+(defconst isa-indent-any-regexp
+ (proof-regexp-alt (proof-ids-to-regexp isa-keywords) "\\s(" "\\s)"))
+(defconst isa-indent-inner-regexp
+ (proof-regexp-alt "\\s(" "\\s)"))
+(defconst isa-indent-enclose-regexp
+ (proof-ids-to-regexp isa-keywords-save))
+(defconst isa-indent-open-regexp
+ (proof-regexp-alt (proof-ids-to-regexp isa-keywords-goal) "\\s("))
+(defconst isa-indent-close-regexp
+ (proof-regexp-alt (proof-ids-to-regexp isa-keywords-save) "\\s)"))
+
(provide 'isa-syntax)