mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Fix hardcoded language-tool path on MacOS
Reported by @jwintz
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user