fix(sh): disable meta fetch by default on mac OS

The `whatis` command is excessively slow on mac OS, rendering
company-shell unusable.

Ref: #5839
This commit is contained in:
Ethan Leba 2021-12-02 08:30:13 -05:00 committed by Henrik Lissner
parent eefa0ec0aa
commit a27cd2de13

View file

@ -78,7 +78,9 @@
:after sh-script
:config
(set-company-backend! 'sh-mode '(company-shell company-files))
(setq company-shell-delete-duplicates t))
(setq company-shell-delete-duplicates t
;; whatis lookups are exceptionally slow on macOS (#5860)
company-shell-dont-fetch-meta IS-MAC))
(use-package! fish-mode
:when (featurep! +fish)