mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
On macos, the libexec directory for languagetool, as installed by brew, lives in a version directory. To find the jar, we need to increase the search depth, since the version directory will change with every version. Example of brew-installed languagetool: -------- $ tree -L 2 /usr/local/Cellar/languagetool => /usr/local/Cellar/languagetool └── 4.6 ├── CHANGES.md ├── CHANGES.txt ├── COPYING.txt ├── INSTALL_RECEIPT.json ├── README.md ├── bin └── libexec