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:
parent
eefa0ec0aa
commit
a27cd2de13
1 changed files with 3 additions and 1 deletions
|
@ -78,7 +78,9 @@
|
||||||
:after sh-script
|
:after sh-script
|
||||||
:config
|
:config
|
||||||
(set-company-backend! 'sh-mode '(company-shell company-files))
|
(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
|
(use-package! fish-mode
|
||||||
:when (featurep! +fish)
|
:when (featurep! +fish)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue