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