mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -10,7 +10,9 @@
|
||||
(unless (or langtool-bin
|
||||
langtool-language-tool-jar
|
||||
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
|
||||
(cond
|
||||
;; is user using home brew?
|
||||
|
Reference in New Issue
Block a user