all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* help correcting web-mode configuration
@ 2017-03-12  7:07 Krishnakant
  2017-03-12  8:39 ` Danny YUE
  0 siblings, 1 reply; 12+ messages in thread
From: Krishnakant @ 2017-03-12  7:07 UTC (permalink / raw
  To: help-gnu-emacs@gnu.org

Hello all,

I previously posted on this list regarding a similar issue.

But I guess my explanation may be a bit confusing.

So I will explain it again.

Basically I have decided to use web-mode for my html and javascript work.

I took the decision because I also use Python based tenplating languages 
like jinja.


Here is my configuration part in context.



(require 'web-mode)
(require 'company)
(require 'company-web-html)                          ; load company mode 
html backend


(add-to-list 'auto-mode-alist '("\\.html\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.js\\'" . web-mode))

(add-hook 'web-mode-hook           '(lambda ()              ;; 
Company-mode              (set (make-local-variable 'company-backends) 
(append company-backends '((company-web-html company-yasnippet))))

No matter what I do, the auto complete using company just does not work 
in web-mode.

Also I am not able to get the auto tag completion working.

Can some one help?

Happy hacking.

Krishnakant.




^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2017-03-18  7:04 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-12  7:07 help correcting web-mode configuration Krishnakant
2017-03-12  8:39 ` Danny YUE
2017-03-12 10:17   ` Krishnakant
2017-03-12 10:27   ` Krishnakant
2017-03-12 12:27     ` Danny YUE
2017-03-12 12:43       ` Krishnakant
2017-03-12 13:26         ` Danny YUE
2017-03-12 15:10           ` Krishnakant
2017-03-12 15:18             ` Danny YUE
2017-03-12 18:23               ` Krishnakant
2017-03-13  3:17                 ` Danny YUE
2017-03-18  7:04                   ` Krishnakant

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.