fix(grammar): use languagetool in $PATH, if available
This commit is contained in:
parent
4a2cbc903d
commit
57e99650d3
1 changed files with 2 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue