fix(grammar): look for languagetool-commandline executable
nixpkgs.languagetool names its executable languagetool-commandline. Ref: https://github.com/NixOS/nixpkgs/blob/nixos-22.11/pkgs/tools/text/languagetool/default.nix#L20 Close: #6959 Co-authored-by: venikx <venikx@users.noreply.github.com>
This commit is contained in:
parent
89994b73a3
commit
552278655e
1 changed files with 3 additions and 1 deletions
|
@ -10,7 +10,9 @@
|
||||||
(unless (or langtool-bin
|
(unless (or langtool-bin
|
||||||
langtool-language-tool-jar
|
langtool-language-tool-jar
|
||||||
langtool-java-classpath)
|
langtool-java-classpath)
|
||||||
(cond ((setq langtool-bin (executable-find "languagetool")))
|
(cond ((setq langtool-bin
|
||||||
|
(or (executable-find "languagetool-commandline")
|
||||||
|
(executable-find "languagetool")))) ; for nixpkgs.languagetool
|
||||||
(IS-MAC
|
(IS-MAC
|
||||||
(cond
|
(cond
|
||||||
;; is user using home brew?
|
;; is user using home brew?
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue