Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
fix: appease `precommit`
Elijah Potter748ea255a1b1
diff --git a/harper-cli/src/main.rs b/harper-cli/src/main.rsindex de2362981..c753fa98c 100644--- a/harper-cli/src/main.rs+++ b/harper-cli/src/main.rs@@ -1,7 +1,6 @@#![doc = include_str!("../README.md")]use std::collections::BTreeMap;-use std::os::linux::raw::stat;use std::path::{Path, PathBuf};use std::process;@@ -362,7 +361,7 @@ fn print_word_derivations(word: &str, annot: &str, dictionary: &impl Dictionary)let children = dictionary.words_iter()- .filter(|e| dictionary.get_word_metadata(*e).unwrap().derived_from == Some(id));+ .filter(|e| dictionary.get_word_metadata(e).unwrap().derived_from == Some(id));println!(" - {}", word);diff --git a/packages/web/src/routes/docs/integrations/language-server/+page.md b/packages/web/src/routes/docs/integrations/language-server/+page.mdindex d83715547..712ddbde0 100644--- a/packages/web/src/routes/docs/integrations/language-server/+page.md+++ b/packages/web/src/routes/docs/integrations/language-server/+page.md@@ -214,11 +214,11 @@ These configs are under the `markdown` key:### Other Configs-| Config | Type | Default Value | Description |-| -------------------- | ----------------------------------------------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |-| `diagnosticSeverity` | `"error"`, `"hint"`, `"information"`, `"warning"` | `"hint"` | Configures how severe diagnostics appear in your editor |-| `isolateEnglish` | `boolean` | `false` | In documents that are a mixture of English and another language, only lint English text. This feature is incredibly new and unstable. Do not expect it to work perfectly. |-| `dialect` | `"American"`, `"British"`, `"Australian"`, `"Canadian"` | `"American"` | Set the dialect of English Harper should expect. |+| Config | Type | Default Value | Description |+| -------------------- | ------------------------------------------------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |+| `diagnosticSeverity` | `"error"`, `"hint"`, `"information"`, `"warning"` | `"hint"` | Configures how severe diagnostics appear in your editor |+| `isolateEnglish` | `boolean` | `false` | In documents that are a mixture of English and another language, only lint English text. This feature is incredibly new and unstable. Do not expect it to work perfectly. |+| `dialect` | `"American"`, `"British"`, `"Australian"`, `"Canadian"` | `"American"` | Set the dialect of English Harper should expect. |## Supported Languages