Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
feat: ctrl→control (#2747)
Andrew Dunbar5b6b149dcbe9
diff --git a/harper-core/src/linting/weir_rules/ExpandControl.weir b/harper-core/src/linting/weir_rules/ExpandControl.weirnew file mode 100644index 000000000..98f58f7b5--- /dev/null+++ b/harper-core/src/linting/weir_rules/ExpandControl.weir@@ -0,0 +1,8 @@+expr main (ctrl)++let message "Use `control` instead of informal `ctrl`"+let description "Expands the informal abbreviation `ctrl` to the full word `control` for clarity."+let kind "Style"+let becomes "control"++test "Ctrl+click" "Control+click"