Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
feat: added many closed compound matches
Elijah Potter280629019a51
diff --git a/harper-core/src/linting/matcher.rs b/harper-core/src/linting/matcher.rsindex ae917f98d..94e381fcb 100644--- a/harper-core/src/linting/matcher.rs+++ b/harper-core/src/linting/matcher.rs@@ -207,7 +207,77 @@ impl Matcher {"Al","though" => "although","an","this" => "and this","break","up" => "break-up",- "case", "sensitive" => "case-sensitive"+ "case", "sensitive" => "case-sensitive",+ "bare", "foot" => "barefoot",+ "air", "port" => "airport",+ "any", "body" => "anybody",+ "every", "body" => "everybody",+ "no", "body" => "nobody",+ "some", "body" => "somebody",+ "any", "one" => "anyone",+ "every", "one" => "everyone",+ "some", "one" => "someone",+ "any", "thing" => "anything",+ "every", "thing" => "everything",+ "no", "thing" => "nothing",+ "some", "thing" => "something",+ "any", "where" => "anywhere",+ "every", "where" => "everywhere",+ "no", "where" => "nowhere",+ "some", "where" => "somewhere",+ "baby", "sit" => "babysit",+ "back", "ground" => "background",+ "bare", "foot" => "barefoot",+ "base", "ball" => "baseball",+ "basket", "ball" => "basketball",+ "foot", "ball" => "football",+ "bath", "room" => "bathroom",+ "bed", "room" => "bedroom",+ "black", "berry" => "blackberry",+ "blue", "berry" => "blueberry",+ "break", "fast" => "breakfast",+ "can", "not" => "cannot",+ "check", "out" => "checkout",+ "cow", "boy" => "cowboy",+ "day", "light" => "daylight",+ "desk", "top" => "desktop",+ "finger", "print" => "fingerprint",+ "fire", "fly" => "firefly",+ "fore", "ver" => "forever",+ "gentle", "man" => "gentleman",+ "grand", "mother" => "grandmother",+ "grand", "father" => "grandfather",+ "grand", "daughter" => "granddaughter",+ "grape", "fruit" => "grapefruit",+ "grass", "hopper" => "grasshopper",+ "head", "quarters" => "headquarters",+ "hand", "shake" => "handshake",+ "in", "side" => "inside",+ "key", "board" => "keyboard",+ "lip", "stick" => "lipstick",+ "mail", "box" => "mailbox",+ "never", "theless" => "nevertheless",+ "none", "theless" => "nonetheless",+ "note", "book" => "notebook",+ "ou", "tside" => "outside",+ "pay", "day" => "payday",+ "rail", "road" => "railroad",+ "rain", "bow" => "rainbow",+ "rain", "coat" => "raincoat",+ "skate", "board" => "skateboard",+ "smart", "phone" => "smartphone",+ "snow", "ball" => "snowball",+ "some", "times" => "sometimes",+ "sun", "flower" => "sunflower",+ "tooth", "brush" => "toothbrush",+ "turn", "table" => "turntable",+ "under", "cover" => "undercover",+ "up", "stream" => "upstream",+ "water", "fall" => "waterfall",+ "water", "melon" => "watermelon",+ "wee", "kend" => "weekend",+ "with", "in" => "within",+ "with", "out" => "without"};// TODO: Improve the description for this lint specifically.