porcupine
porcupine copied to clipboard
rust highlight notes
Found this file from my computer. Need to check if all items in it are done by now
- [x] highlight await keyword in my editor
- [x] highlight "async move"
- [x] highlight 2usize properly
- [x] highlight "static ref" properly
- [x] highlight "extern crate lazy_static;" properly
- [x] highlight "ref" keyword when i try to write
.map(|ref| ref.borrow())
- [x] highlight "Default::default()" somehow nicely?
- [x] highlight Self, both "-> Self" and "Self { ... }"
- [x] highlighting function names and type names properly, similar to C