mirror of
https://github.com/doomemacs/doomemacs.git
synced 2026-01-06 01:02:04 -08:00
perf(company,corfu): increase idle delay on macos
MacOS especially seems to struggle with either async process management or low timer delays, so I turn down idle completion there.
This commit is contained in:
parent
92f99d64dd
commit
a457047943
2 changed files with 8 additions and 2 deletions
|
|
@ -11,7 +11,10 @@
|
|||
company-tooltip-limit 14
|
||||
company-tooltip-align-annotations t
|
||||
company-require-match 'never
|
||||
company-idle-delay 0.26
|
||||
company-idle-delay
|
||||
(if (featurep :system 'macos)
|
||||
0.4 ; MacOS is slower, so go easy on it
|
||||
0.26)
|
||||
company-global-modes
|
||||
'(not erc-mode
|
||||
circe-mode
|
||||
|
|
|
|||
|
|
@ -41,7 +41,10 @@ If any return non-nil, `corfu-auto' will not invoke as-you-type completion.")
|
|||
:hook (doom-first-input . global-corfu-mode)
|
||||
:config
|
||||
(setq corfu-auto t
|
||||
corfu-auto-delay 0.24
|
||||
corfu-auto-delay
|
||||
(if (featurep :system 'macos)
|
||||
0.4 ; MacOS is slower, so go easy on it
|
||||
0.24)
|
||||
corfu-auto-prefix 2
|
||||
global-corfu-modes
|
||||
'((not erc-mode
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue