-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't complete on <
#20
Comments
It might be unrelated to react layer which I don't use. But I tested this on an HTML file. |
I use spacemacs too Few month ago there was performance issue for company-web and that is why they might decide to increase from 0 to 1 :). I'm closing this |
Ah, you are about react + company-web... I reopen, newer tried to work with react + company-web, need to check |
No, spacemacs has the value 0 but I manually set |
It happens in a normal HTML file too. |
But I don't want to complete after |
|
@Compro-Prasad Ah, reason why autocomplete in any place even after In case if you are ok to work without emmet support in react layer we can update next function and add some switcher for disable emmet. (defun company-web-html-emmet-grab ()
(let* ((limit (company-web-backward-min-tag-bound))
(bound (save-excursion
(if (re-search-backward ">" limit t)
(point)
limit))))
(and company-web-html-emmet-enable
(bound-and-true-p emmet-mode)
(or
(company-grab company-web-html-emmet-tag-regexp 1 bound)
(company-grab company-web-html-emmet-class-regexp 2 bound)
(company-grab company-web-html-emmet-id-regexp 2 bound)
(company-grab company-web-html-emmet-attr-regexp 2 bound)
(company-grab company-web-html-emmet-value-regexp 3 bound))))) |
I will add switcher soon. I think it should help you |
This is a bug IMO. |
I am using spacemacs where I want to complete when I type the
<
character. But it doesn't complete. Thecompany-minimum-prefix-length
for me is1
. So, I have to type an extra alphabet after<
to get completion. How do I resolve this?See: syl20bnr/spacemacs#8222
The text was updated successfully, but these errors were encountered: