New typofixer packages - #233
Conversation
|
ping |
There was a problem hiding this comment.
Updates to a couple of large established packages. No shell or script or potentially malicious code.
I'll let Copilot do its stuff as a precaution, and run the automated checks, but we should be good to merge.
Searching the packages for risky words I find 21 mispellings of "script" and it occurs to me that the sizes of the packages could be reduced considerably if the duplicate correct spellings were grouped under single - triggers: [] items, but that's an addition to the code that produces the package!
|
I didn't know that the it is possible to group the trigger, I will improve my syntax generator for the next release |
Thank you - I think that would be really neat! https://espanso.org/docs/matches/basics/#multiple-triggers So for the twenty-one "script" triggers, the syntax would normally be: - triggers: [scriipt, scirpt, scrtip, scripte, scrpit etc.]
replace: script
propagate_case: true
word: truereducing the current 84 lines to just four, but if you want to list them on separate lines: - triggers:
- scriipt
- scirpt
- scrtip
- scripte
- scrpit etc.
replace: scriptstill reduces it to 24 lines. |
It seems that in English there like 500 duplicates and I missed them but this release cleanup and adds more terms.