huonw / spellck

A spell-checker for Rust code.
Apache License 2.0
18 stars 4 forks source link

spellck_extra_words attribute #18

Closed sinistersnare closed 9 years ago

sinistersnare commented 9 years ago

This has the spellck lint recognize the attribute "spellck_extra_words" so that extra words can be added from the crate root. usage is like so:

//lib.rs
#![spellck_extra_words="these are not in word list but are now"]

thank you for your time :)

closes #8

sinistersnare commented 9 years ago

@huonw nits addressed. r? actually give me a few minutes to update to the latest nightly

sinistersnare commented 9 years ago

Ok, good feedback, incorporated, lets see if Travis decides to appease us!

sinistersnare commented 9 years ago

OK, kmc told me how to tell rustc not o mark it unused, so it is now completely working and awesome!

huonw commented 9 years ago

Landed as https://github.com/huonw/spellck/commit/dcdf38376bbb35cd91104f4278542f4bf28fc471, thanks!