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

Remove highlighting for prelude types (vim) #18255

Closed
mahkoh opened this issue Oct 23, 2014 · 2 comments
Closed

Remove highlighting for prelude types (vim) #18255

mahkoh opened this issue Oct 23, 2014 · 2 comments

Comments

@mahkoh
Copy link
Contributor

mahkoh commented Oct 23, 2014

Most of them are not even special cases in the compiler. E.g., giving Vec special highlighting makes no sense.

@mahkoh
Copy link
Contributor Author

mahkoh commented Oct 23, 2014

This looks like a reasonable subset:

" Things from the prelude (src/libstd/prelude.rs) {{{2
syn keyword rustTrait Copy Send Sized Sync
syn keyword rustTrait Add Sub Mul Div Rem Neg Not
syn keyword rustTrait BitAnd BitOr BitXor
syn keyword rustTrait Drop Deref DerefMut
syn keyword rustTrait Shl Shr Index IndexMut
syn keyword rustTrait PartialEq PartialOrd Eq Ord
syn keyword rustTrait Box

syn keyword rustSelf self
syn keyword rustBoolean true false

@mahkoh
Copy link
Contributor Author

mahkoh commented Jan 29, 2015

rust-lang/rust.vim#3

@mahkoh mahkoh closed this as completed Jan 29, 2015
lnicola pushed a commit to lnicola/rust that referenced this issue Oct 8, 2024
…lbasi

Use external stack in borrowck DFS

Because damnit, it can crash r-a. Why do people make this stupid DFSes anyway (I get it, it's easier until it blows).

Fixes rust-lang#18223 (who thought DFS will be the problem).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants