fix: bump languagetool jar search depth on macos
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
This commit is contained in:
parent
f754d4ff93
commit
9e3f92a3a4
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@
|
|||
(locate-file "libexec/languagetool-commandline.jar"
|
||||
(doom-files-in "/usr/local/Cellar/languagetool"
|
||||
:type 'dirs
|
||||
:depth 1)))
|
||||
:depth 2)))
|
||||
(IS-LINUX
|
||||
"/usr/share/java/languagetool/languagetool-commandline.jar")))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue