diff options
author | Pierre Courtieu <courtieu@lri.fr> | 2015-01-09 18:24:32 +0000 |
---|---|---|
committer | Pierre Courtieu <courtieu@lri.fr> | 2015-01-09 18:24:32 +0000 |
commit | 351eae29f2da9644cae5ba1fc3a1c36d7bf9c803 (patch) | |
tree | ec9c61ee9ac770b192c1e8cb797245b6d0be57da /coq/coq-smie.el | |
parent | 60db7ba0c5e5f7b773591f8b244d25f9ddbc5576 (diff) |
failed and commented attempt at improving indentation of records.
Diffstat (limited to 'coq/coq-smie.el')
-rw-r--r-- | coq/coq-smie.el | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/coq/coq-smie.el b/coq/coq-smie.el index 9fa2e707..66e4fbe1 100644 --- a/coq/coq-smie.el +++ b/coq/coq-smie.el @@ -891,6 +891,14 @@ KIND is the situation and TOKEN is the thing w.r.t which the rule applies." (not (smie-rule-bolp))) (smie-rule-parent 2)) + ;; trying to indent "{" at the end of line for records, but the + ;; parent is not what I think. +; ((and (member token '("{" "{|")) +; (not coq-indent-box-style) +; (not (smie-rule-bolp))) +; (smie-rule-parent)) + + ((and (member token '("forall" "quantif exists")) (smie-rule-parent-p "forall" "quantif exists")) (if (save-excursion |