help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: help correcting web-mode configuration


From: Danny YUE
Subject: Re: help correcting web-mode configuration
Date: Sun, 12 Mar 2017 23:18:15 +0800
User-agent: mu4e 0.9.18; emacs 25.2.1

Seriously, have you checked the manual? ;-)

There are 2 variables that may be related to this:
`company-minimum-prefix-length' controls how many characters you have to
type before company-complete is invoked.

`company-idle-delay' controls the delay you will wait before auto
completion.

Please check the value of these 2 variables and modify them to some
valid number, e.g. 2 characters with 0.5 second delay.


Danny


On 2017-03-12 15:10, Krishnakant <address@hidden> wrote:
> On Sunday 12 March 2017 06:56 PM, Danny YUE wrote:
>> But it seems to be correct, isn't it?
>>
>> Because anyway the company-mode returns something that seems
>> reasonable. What's exactly your problem now?
>>
>> The completion does not start automatically or something?
>>
>>
> Yes completion does not start automatically.
> I can do M-x and type company-web-html to get completion done.
> I can also set it to a keyboard shortcut, but I expected that my
> completion starts after I type 4 characters (that's what I have set for
> completion ).
>
> So this is precisely the problem.
> Happy hacking.
> Krishnakant.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]