Emacs: Update emacs mode to be more similar to the vim mode.#5103
Closed
huonw wants to merge 1 commit intorust-lang:incomingfrom
Closed
Emacs: Update emacs mode to be more similar to the vim mode.#5103huonw wants to merge 1 commit intorust-lang:incomingfrom
huonw wants to merge 1 commit intorust-lang:incomingfrom
Conversation
Copy the keyword list, and add `self` so that it is somewhat highlighted (being liberal with the correct categories).
bors
added a commit
that referenced
this pull request
Feb 26, 2013
Copy the keyword list from rust.vim, and add `self` so that it is highlighted (being liberal with the correct categories). I'm not quite willing to dive in to clean up the emacs code yet, but at least this gets a (more) modern syntax highlighting list.
flip1995
pushed a commit
to flip1995/rust
that referenced
this pull request
Aug 28, 2020
…nts, r=Manishearth,flip1995 Parse doctests in needless_doctest_main This switches from text-based search to running the parser to avoid false positives. Inspired by how [rustdoc](https://github.com/rust-lang/rust/blob/3f3250500fe152b5759c21453ba9a9129808d0d8/src/librustdoc/test.rs#L366) handles this and by rust-lang#4729. cc @llogiq changelog: Fix multiple false positives in [`needless_doctest_main`]. Fixes rust-lang#5879 Fixes rust-lang#4906 Fixes rust-lang#5103 Fixes rust-lang#4698
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Copy the keyword list from rust.vim, and add
selfso that it is highlighted(being liberal with the correct categories).
I'm not quite willing to dive in to clean up the emacs code yet, but at least this gets a (more) modern syntax highlighting list.