huonw / spellck

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

Allow the addition of custom words via a crate attribute #8

Closed chris-morgan closed 9 years ago

chris-morgan commented 10 years ago

Something like this:

#![spellck_extra_words = "http foo bar …"]
chris-morgan commented 10 years ago

This could be useful in other places than just the crate, actually, applying to that scope. Say, for example, if I want to deliberately misspell a word in one method.