Commit graph

12 commits

Author SHA1 Message Date
Henrik Lissner
abc201ae06
Improve indent logic in scheme-mode
Better indentation for property lists and functions starting with
'define'.
2020-04-24 00:35:01 -04:00
Henrik Lissner
74d05552c1
Refactor scheme module 2020-04-24 00:33:54 -04:00
Elais Player
5205fde619
Add useful defaults and bindings to scheme mode (#2947)
* Add useful defaults and bindings to scheme mode

Scheme mode was pretty bare for a long time now and lacked many of
geiser's useful features like `geiser-smart-tab` and starting the geiser
repl on entering a file. This turns them on by default for the
productive schemer.

Besides that the following key bindings were remapped
+ `SPC m e e` -> `geiser-eval-last-sexp`
+ `SPC m e d` -> `geiser-eval-definition`
+ `SPC m e D` -> `geiser-eval-definition-and-go`

This brings the geiser keymaps in line with other lisp modes in doom.

Another change involves adding macro expand commands under `SPC m m` so
schemers can see what evil lurks beneath their commands.

Geiser autodoc commands have also been added under `SPC m h` for
schemers to read the docs, though they can still use `SPC c k` to do the
same thing.

* Remove package cookie

Its only necessary when not using (use-package!)

* Use setq instead of custom

* Add `defer t` back

* Add defer flag for scheme package

If a user went directly to a scheme file after load they would get an
error concerning rainbow-delimiters not being loaded. Deferring scheme
mode stops that error from happening

* Fix typo

Co-authored-by: Elais Player <elais@samus.hsd1.nm.comcast.net>
2020-04-24 00:00:27 -04:00
Rudi Grinberg
abdc5502bc Use [set-popup-rules!] instead of [set-popup-rule!] 2019-12-08 21:19:30 +07:00
Rudi Grinberg
1a1b5c650c Move geiser rules above map 2019-12-08 21:17:01 +07:00
Rudi Grinberg
10b06b06d9 popup rules for geiser buffers 2019-12-08 16:28:13 +07:00
Rudi Grinberg
9ad0e710f5 Do not quit scheme repl's automatically 2019-12-08 16:17:53 +07:00
Henrik Lissner
11a6c03d69
Standardize naming of repl handler commands 2019-10-07 14:08:58 -04:00
Henrik Lissner
016f6c1b8b
lang/scheme: general refactor
To optimize it and conform to new elips conventions introduced with
straight.el integration.
2019-09-13 22:00:33 -04:00
Elais Player
3cc7066063 Uncomment closing parenthesis in scheme config
Accidentally commented out a closing parenthesis in the scheme module
config, fixed in this commit.
2019-07-23 11:08:29 -05:00
Elais Player
0659675ade Add scheme module README
The README.org has the prereqs as well as links to geiser and the
various scheme implementations.
2019-07-23 11:08:29 -05:00
Elais Player
db8d541fbe Add scheme module
Adds scheme module with geiser.
2019-07-23 11:08:29 -05:00