Skip to content

Conversation

WillJardee
Copy link

The CLI of languagetool offers a --rulefile flag to pass in a .xml file of rules. I have added a simple addition of it.

  • Updates README.md with details on how to use the option
  • Adds a g:grammarous#custom_rules variable
  • add --rulefile ... to cmdargs
  • checks the provided file exists and replaces all ' ' with '\ '

Tested to work with installed jar and preexisting cmd (only tested with languagetool packaged for Arch Linux, and on an Arch system). Tested to work with spaces.

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.

1 participant