Add support for parinfer-rust-mode (#1)

This commit adds support for the module flag +rust, which will use parinfer-rust-mode
instead of parinfer-mode. Parinfer-rust-mode makes use of an external library named parinfer-rust
to do the heavy lifting. As such, --with-modules must be enabled.
This commit is contained in:
Johan Thorén 2021-02-18 21:49:49 +01:00 committed by Johan Thoren
parent 3f4cc77d2a
commit ec747395c6
No known key found for this signature in database
GPG key ID: C8808B69584976F6
3 changed files with 53 additions and 25 deletions

View file

@ -17,7 +17,9 @@ https://raw.githubusercontent.com/DogLooksGood/parinfer-mode/a7c041454e05ec2b883
More information can be found about it [[https://shaunlebron.github.io/parinfer/][in the project's documentation]].
** Module Flags
This module provides no flags.
+ =+rust= Use [[github:justinbarclay/parinfer-rust-mode][parinfer-rust-mode]] instead of the now deprecated [[github:DogLooksGood/parinfer-mode][parinfer-mode]].
This depends on Emacs being compiled with the option `--with-modules`. The
pre-built library is only available for Linux, Windows and MacOS.
** Packages
+ [[https://github.com/DogLooksGood/parinfer-mode][parinfer]]