diff options
| author | Christophe Troestler <Christophe.Troestler@umons.ac.be> | 2021-12-27 19:56:51 +0100 |
|---|---|---|
| committer | Christophe Troestler <Christophe.Troestler@umons.ac.be> | 2021-12-27 19:58:26 +0100 |
| commit | 716c0fc6e4db1a3822d8f954f13fb3f1978ce90b (patch) | |
| tree | 54d8b28309d207a5b2b594e0b53caba3e8686876 | |
| parent | f80a0ce35b5b4d179b043d01ec7a55dcaf04f8ab (diff) | |
| download | rust-mode-716c0fc6e4db1a3822d8f954f13fb3f1978ce90b.tar.gz | |
Do not prettify || after various symbols
| -rw-r--r-- | rust-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust-mode.el b/rust-mode.el index 6f8a214..32794c5 100644 --- a/rust-mode.el +++ b/rust-mode.el @@ -227,7 +227,7 @@ See `prettify-symbols-compose-predicate'." (pcase match ("||" (not (save-excursion (goto-char start) - (looking-back "\\(?:\\<move\\|=\\) *")))) + (looking-back "\\(?:\\<move\\|[[({:=,;]\\) *")))) ("&&" (char-equal (char-after end) ?\s)) (_ t)))) |
