[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/rust-mode a436945 294/486: Merge pull request #172 from no
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/rust-mode a436945 294/486: Merge pull request #172 from nokaa/master |
Date: |
Sat, 7 Aug 2021 09:25:39 -0400 (EDT) |
branch: elpa/rust-mode
commit a436945f788e153474c0ec149a565993804fc6a5
Merge: 19e6f60 7f7b2ac
Author: Niko Matsakis <niko@alum.mit.edu>
Commit: GitHub <noreply@github.com>
Merge pull request #172 from nokaa/master
Add info to enable rustfmt
---
README.md | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/README.md b/README.md
index 1c21792..7635c39 100644
--- a/README.md
+++ b/README.md
@@ -4,6 +4,8 @@
`rust-mode` makes editing [Rust](http://rust-lang.org) code with Emacs
enjoyable. `rust-mode` requires Emacs 24 or later.
+## Installation
+
### Manual Installation
To install manually, check out this repository and add this to your
@@ -74,6 +76,18 @@ The file `rust-mode-tests.el` contains tests that can be run
via
You can use `run_rust_emacs_tests.sh` to run them in batch mode, if
you set the environment variable EMACS to a program that runs emacs.
+## Features
+
+### Formatting with [rustfmt][rfmt]
+
+The `rust-format-buffer` function will format your code with
+[rustfmt][rfmt] if installed. By default, this is bound to `C-c C-f`.
+
+Placing `(setq rust-format-on-save t)` in your `~/.emacs` will enable automatic
+running of `rust-format-buffer` when you save a buffer.
+
+[rfmt]: https://crates.io/crates/rustfmt/
+
## License
`rust-mode` is distributed under the terms of both the MIT license and the
- [nongnu] elpa/rust-mode 54e24e6 200/486: Add basic license information, (continued)
- [nongnu] elpa/rust-mode 54e24e6 200/486: Add basic license information, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode e3c545e 252/486: imenu: don't add item defs in single-line comments, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode 6886300 256/486: [master] Copy buffer only when format changes., ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode e452995 261/486: rust--after-revert-hook should preserve point position., ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode d2e57a9 263/486: fix regex to account for `[E123]`, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode bec3d0c 267/486: Test #169, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode 7fb78d4 273/486: Bump version, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode f6cf013 275/486: Add instructions for version tag update requests, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode 4935090 279/486: convert http links into https links, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode b8126e4 284/486: Recognize "extern" imenu items, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode a436945 294/486: Merge pull request #172 from nokaa/master,
ELPA Syncer <=
- [nongnu] elpa/rust-mode 954221f 316/486: Define `rust-test-project-located' conditionally instead of using `skip-unless'., ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode 1d4a75f 324/486: Make rust-beginning-of-defun ignore comments and strings, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode dea81aa 334/486: Types get correct font-lock in if-let statements, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode ac5dac0 335/486: Added test for if-let font lock, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode 6550d94 336/486: Renamed and relocated if-let font-lock test, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode a814cd8 338/486: Pass 'visible to get-buffer-window, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode c8280ae 339/486: Merge pull request #235 from tromey/get-buffer-window-fixlet, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode fca71c6 342/486: feat(rust-mode): add yield to the keywords list, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode eae291a 343/486: Merge pull request #240 from michael-zapata/feat/add-yield-keyword, ELPA Syncer, 2021/08/07
- [nongnu] elpa/rust-mode b7cd368 346/486: % as punctuation character., ELPA Syncer, 2021/08/07