mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
fix(grammar): use languagetool in $PATH, if available
This commit is contained in:
@ -10,7 +10,8 @@
|
|||||||
(unless (or langtool-bin
|
(unless (or langtool-bin
|
||||||
langtool-language-tool-jar
|
langtool-language-tool-jar
|
||||||
langtool-java-classpath)
|
langtool-java-classpath)
|
||||||
(cond (IS-MAC
|
(cond ((setq langtool-bin (executable-find "languagetool")))
|
||||||
|
(IS-MAC
|
||||||
(cond
|
(cond
|
||||||
;; is user using home brew?
|
;; is user using home brew?
|
||||||
((file-directory-p "/usr/local/Cellar/languagetool")
|
((file-directory-p "/usr/local/Cellar/languagetool")
|
||||||
|
Reference in New Issue
Block a user