summaryrefslogtreecommitdiff
path: root/elisp
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2011-09-29 18:43:27 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2011-09-29 18:43:27 +0200
commit3a6dfbf743cc56b7d454bc6c688cd983966acc6c (patch)
treefdedc2b2387e6591494409e9c3a1f2e946ce7aad /elisp
parentbc4f5e2de6ece6f2d314948f742d0771b5ada858 (diff)
downloadgeiser-chez-3a6dfbf743cc56b7d454bc6c688cd983966acc6c.tar.gz
geiser-chez-3a6dfbf743cc56b7d454bc6c688cd983966acc6c.tar.bz2
Racket: indentation for splicing-let and friends
At some point, we should make indentation rules buffer-local.
Diffstat (limited to 'elisp')
-rw-r--r--elisp/geiser-racket.el14
1 files changed, 13 insertions, 1 deletions
diff --git a/elisp/geiser-racket.el b/elisp/geiser-racket.el
index df6128e..ff7b738 100644
--- a/elisp/geiser-racket.el
+++ b/elisp/geiser-racket.el
@@ -232,13 +232,25 @@ This function uses `geiser-racket-init-file' if it exists."
(geiser-racket--explicit-module)))
-;;; Keywords
+;;; Keywords and syntax
(defun geiser-racket--keywords ()
(cons '("^#lang\\>" . 0)
(when geiser-racket-extra-keywords
`((,(format "[[(]%s\\>" (regexp-opt geiser-racket-extra-keywords 1))
. 1)))))
+(geiser-syntax--scheme-indent
+ (splicing-let 1)
+ (splicing-letrec 1)
+ (splicing-let-values 1)
+ (splicing-letrec-values 1)
+ (splicing-let-syntax 1)
+ (splicing-letrec-syntax 1)
+ (splicing-let-syntaxes 1)
+ (splicing-letrec-syntaxes 1)
+ (splicing-letrec-syntaxes+values 1)
+ (splicing-local 1))
+
;;; Remote REPLs