Skip to content

New typofixer packages - #233

Merged
smeech merged 1 commit into
espanso:mainfrom
Mte90:main
Jul 28, 2026
Merged

New typofixer packages#233
smeech merged 1 commit into
espanso:mainfrom
Mte90:main

Conversation

@Mte90

@Mte90 Mte90 commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

It seems that in English there like 500 duplicates and I missed them but this release cleanup and adds more terms.

@Mte90

Mte90 commented Jul 27, 2026

Copy link
Copy Markdown
Contributor Author

ping

@smeech smeech left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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!

@Mte90

Mte90 commented Jul 27, 2026

Copy link
Copy Markdown
Contributor Author

I didn't know that the it is possible to group the trigger, I will improve my syntax generator for the next release

@smeech

smeech commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

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: true

reducing 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: script

still reduces it to 24 lines.

@smeech
smeech merged commit 6ccccdc into espanso:main Jul 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants