Fix hardcoded language-tool path on MacOS
Reported by @jwintz
This commit is contained in:
parent
5966e9aa9c
commit
8f3f31bac8
1 changed files with 8 additions and 6 deletions
|
@ -29,12 +29,14 @@
|
||||||
:init
|
:init
|
||||||
(setq langtool-default-language "en-US")
|
(setq langtool-default-language "en-US")
|
||||||
:config
|
:config
|
||||||
(unless langtool-language-tool-jar
|
(defvar langtool-language-tool-jar
|
||||||
(setq langtool-language-tool-jar
|
(cond (IS-MAC
|
||||||
(cond (IS-MAC
|
(locate-file "libexec/languagetool-commandline.jar"
|
||||||
"/usr/local/Cellar/languagetool/4.0/libexec/languagetool-commandline.jar")
|
(doom-files-in "/usr/local/Cellar/languagetool"
|
||||||
(IS-LINUX
|
:type 'dirs
|
||||||
"/usr/share/java/languagetool/languagetool-commandline.jar")))))
|
:depth 1)))
|
||||||
|
(IS-LINUX
|
||||||
|
"/usr/share/java/languagetool/languagetool-commandline.jar"))))
|
||||||
|
|
||||||
|
|
||||||
(def-package! wordnut
|
(def-package! wordnut
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue