Skip to content

completion candidates  #2

Description

Thanks for your work!

From the readme:

When you edit your .html(.jade, etc) file exec M-x ac-html-bootstrap+ or M-x company-web-bootstrap+ to enable twitter bootstrap completion

Is it feasible have the completions without the above procedure, ie pop up automatically?

I tried making a group:
(add-hook 'web-mode-hook
(lambda ()
(set (make-local-variable 'company-backends)
'((company-web-html company-web-bootstrap+)))))
but it didn't work:

Company back-end ’company-web-bootstrap+’ could not be initialized:
Wrong number of arguments: (lambda nil "Enable bootstrap ac-html completio
n" (interactive) (make-local-variable (quote web-completion-data-sources))
(if (assoc "Bootstrap" web-completion-data-sources) nil (setq web-complet
ion-data-sources (cons (cons "Bootstrap" (quote ac-html-bootstrap-source-d
ir)) web-completion-data-sources)))), 1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions