Revert company-idle-delay to package default (0.5)
Setting a default for this variable is dangerous. Set it to low and modes with slow backends will give users the impression that this is typing latency (they'll suspect something else, likely Doom, before suspecting their lsp servers or company backends). Set it too high and users may misinterpret this as latency. Turn it off (set to nil) and I'll get a dozen "code completion isn't working" bug reports. I've settled on company's own default of 0.5 (which is twice as slow as Doom's original default) because responsiveness while typing is more important (and more frustrating to deal with), but it's still enabled, so users are more likely to notice it than assume code completion isn't working.
This commit is contained in:
parent
0efe786d99
commit
41885c4e72
1 changed files with 1 additions and 2 deletions
|
@ -4,8 +4,7 @@
|
||||||
:commands company-complete-common company-manual-begin company-grab-line
|
:commands company-complete-common company-manual-begin company-grab-line
|
||||||
:hook (doom-first-input . global-company-mode)
|
:hook (doom-first-input . global-company-mode)
|
||||||
:init
|
:init
|
||||||
(setq company-idle-delay 0.25
|
(setq company-minimum-prefix-length 2
|
||||||
company-minimum-prefix-length 2
|
|
||||||
company-tooltip-limit 14
|
company-tooltip-limit 14
|
||||||
company-tooltip-align-annotations t
|
company-tooltip-align-annotations t
|
||||||
company-require-match 'never
|
company-require-match 'never
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue