Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editor highlighting and syntax should also be packaged in the installer packages #13334

Closed
pethin opened this issue Apr 5, 2014 · 4 comments
Closed
Labels
C-enhancement Category: An issue proposing an enhancement or a PR with one.

Comments

@pethin
Copy link

pethin commented Apr 5, 2014

The src/etc/{emacs, gedit, kate, vim, zsh} folders should also be packaged. This would make it easier for package maintainers to include them.

@steveklabnik
Copy link
Member

/cc @brson ?

@huonw
Copy link
Member

huonw commented Feb 2, 2015

This may be trickier now that the configs are in separate repos (cc #18274 (comment)).

@steveklabnik
Copy link
Member

Triage: no change.

@steveklabnik steveklabnik added the C-enhancement Category: An issue proposing an enhancement or a PR with one. label Feb 2, 2016
@alexcrichton
Copy link
Member

This is a pretty old bug at this point, but all our editor integration has its own packaging/distribution mechanisms, so I'm going to close this.

flip1995 pushed a commit to flip1995/rust that referenced this issue Oct 18, 2024
Add manual_ignore_cast_cmp lint

```rust
// bad
fn compare(a: &str, b: &str) -> bool {
    a.to_ascii_lowercase() == b.to_ascii_lowercase()
    || a.to_ascii_lowercase() == "abc"
}

// good
fn compare(a: &str, b: &str) -> bool {
   a.eq_ignore_ascii_case(b)
   || a.eq_ignore_ascii_case("abc")
}
```

- [x] Followed [lint naming conventions][lint_naming]
- [x] Added passing UI tests (including committed `.stderr` file)
- [x] `cargo test` passes locally
- [x] Executed `cargo dev update_lints`
- [x] Added lint documentation
- [x] Run `cargo dev fmt`

changelog: New lint: [`manual_ignore_case_cmp`] `perf`
[rust-lang#13334](rust-lang/rust-clippy#13334)

Closes rust-lang#13204
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: An issue proposing an enhancement or a PR with one.
Projects
None yet
Development

No branches or pull requests

4 participants