summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-04-14rust-format-show-buffer: default to true.Nathan Moreau
Otherwise it might not be clear what the problem is, in case of whitespace issues.
2020-04-14rust--format-fix-rustfmt-buffer: replace "stdin:" as well as "<stdin>:".Nathan Moreau
2020-04-12rustc-compilation-regexps: handle `note` case as compilation-info.Nathan Moreau
2020-03-31Add triagebot configuration (#364)Mark Rousskov
This enables assignment through triagebot on this repository, in preparation for the migration from highfive to triagebot for PR assignment.
2020-03-22Don't fail on re-search-forward. (#359)Nathan Moreau
2020-03-15Expand README to include more information about features (#358)holocircuit
2020-03-03rust-before-save-hook: log errors.Nathan Moreau
2020-02-29Introduce constant for *rustfmt*.Nathan Moreau
2020-02-29integrate rustfmt error messagesNikodemus Siivola
If rustfmt reports an error, by default display it in the message area and jump to the location. (custom rust-format-goto-problem) Optionally display the *rustfmt* buffer when rustfmt reports an error. (custom rust-format-show-buffer)
2020-02-13Enforce use of spaces for indentation and cleanup whitespace (#353)Jonas Bernoulli
* Enforce use of spaces for indentation We cannot just assume that each and every contributor has set indent-tabs-mode to nil, and indeed it appears at least a few have not done so in the past. * Fix indentation * Fix excessively long lines I tried to stay away from only slightly too long lines, but did not succeed completely. * Cleanup whitespace
2020-01-29Fix scrolling after rustfmt. (#351)Nathan Moreau
Co-authored-by: apiraino <apiraino@users.noreply.github.com>
2020-01-29rust format buffer now saves position across multiple frames (#348)ryanswilson59
Fix #347.
2019-12-08imenu: fn items: match async/const and all pub variants. (#346)Nathan Moreau
2019-11-23Merge pull request #343 from haroldcarr/masterbrotzeit
add support for "async fn"
2019-11-23add support for "async fn"Harold Carr
Async functions do not show up. Adding this causes them to show in the imenu.
2019-11-18rust-insert-dbg: handle the case of string literals. (#342)Nathan Moreau
2019-11-08rust-dbg-wrap-or-unwrap: bind to C-c C-d rather than C-c d.Nathan Moreau
see `Key Binding Conventions' in the Emacs manual.
2019-11-07Merge pull request #340 from brotzeit/readmebrotzeit
mention LSP support
2019-11-03Fix rust-insert-dbg for emacs-version < 25. (#339)Nathan Moreau
2019-11-01reviewbrotzeit
2019-11-01mention LSP supportbrotzeit
2019-10-31Add a function wrap and unwrap with the dbg! macro.Roey Darwish Dror
2019-10-31electric-pair-mode: prevent self-insert of `>' when already inserted. (#337)Nathan Moreau
2019-10-31Allow pass custom flags to rustfmt. (#338)Nathan Moreau
* rust-rustfmt-switches: new defvar. * rust-format-diff-buffer, rust--format-call: use the custom flags.
2019-10-27Adding GitHub actions.Nathan Moreau
2019-10-23subword-match for built-in formatting macros: add a test.Nathan Moreau
2019-10-23Do not allow subword-match when detecting built-in formatting macrosDato Simó
Before this change, a user-created macro like ‘cprintln!’ would see the ‘println’ subword highlighted as a built-in macro, and the leading ‘c’ left without color. After this commit, only full words will be recognized as built-ins, and ‘cprintln!’ is highlighted as a regular macro in full, not as a built-in. In addition, this commit fixes the same issue for the write! macro.
2019-10-21Speed up line indentation inside strings (#313)Chris Rayner
2019-10-18Fix rustc-compilation-regexps: match error messages with dashes. (#331)Nathan Moreau
2019-10-11readme: make other useful packages a listTrevor Spiteri
2019-10-11readme: recommend setting indent-tabs-mode to nilTrevor Spiteri
2019-10-11update readme (#327)brotzeit
2019-10-10Highlight variable name in a for-loop (#326)Konstantin Kharlamov
Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
2019-10-01rust-mode.el: check for possible space between variable name and type (#325)Konstantin Kharlamov
Fixes the following problem: consider code fn foo(a: u32, b : u32) {} Here, `b` was not highlighted as a variable, because the regex didn't take into account possible space before the colon. Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
2019-09-28Don't set indent-tabs-mode. (#324)Nathan Moreau
2019-09-26rust-format-diff-buffer-sentinel: use diff-mode and pop-to-buffer.Nathan Moreau
2019-09-26rust-format-diff-buffer: use start-process rather than make-process.Nathan Moreau
2019-09-26Silence byte-compilerPhillip Lord
2019-09-26Add rust-format-diff-bufferPhillip Lord
This command displays the output of rustfmt-diff.
2019-09-24rust-compile, rust-run, rust-test: respect rust-cargo-bin. (#321)Nathan Moreau
2019-09-04Merge pull request #319 from phillord/feature/update-emacs-versionsNiko Matsakis
Feature/update emacs versions
2019-08-31Add local docker based tests runnerPhillip Lord
2019-08-30Add specific distribution for EVMPhillip Lord
https://github.com/rejeep/evm/issues/125
2019-08-30Update travis scripts to use EVMPhillip Lord
Add all versions of Emacs 25 to 26
2019-08-26Merge pull request #318 from kraai/patch-1Niko Matsakis
Update Debian installation instructions
2019-08-19Update Debian installation instructionsMatt Kraai
`rust-mode` is now included in Debian stable, so don't limit the Debian installation instructions to only testing and unstable.
2019-05-17Merge pull request #304 from kurnevsky/raw-string-propertizeNiko Matsakis
Don't insert string delimiter inside strings.
2019-05-16Merge pull request #307 from Bunogi/masterNiko Matsakis
Add `await` to list of keywords
2019-05-14Add `await` to list of keywordsBunogi
2019-04-21Don't call syntax-ppss twice for raw strings.Evgeny Kurnevsky