all repos — nixfiles @ 19d04e26542182cd1cf6e69c3a5c7336071bd28f

System and user configuration, managed by nix and home-manager

Emacs: Add company-web and re-work backends list
Alan Pearce alan.pearce@spotcap.com
Fri, 17 Jun 2016 17:36:07 +0200
commit

19d04e26542182cd1cf6e69c3a5c7336071bd28f

parent

75205cb2610e25e0cb9157407b4e823ae82eea34

1 files changed, 10 insertions(+), 2 deletions(-)

jump to
M tag-emacs/emacs.d/init.orgtag-emacs/emacs.d/init.org
@@ -899,14 +899,22 @@ :bind (("C-<tab>" . company-complete)            ("TAB" . company-indent-or-complete-common))
     :init (progn
             (add-hook 'prog-mode-hook #'company-mode)
-            (setq company-backends '(company-tern (company-elisp company-bbdb company-nxml company-css company-eclim company-semantic company-clang company-xcode company-cmake company-capf company-gtags company-dabbrev-code company-etags company-keywords)
-                                                  company-oddmuse company-files company-dabbrev)
+            (setq company-backends '(company-bbdb company-web-html company-tern company-nxml company-css company-eclim company-semantic company-elisp
+                                                  company-clang company-xcode company-cmake company-capf
+                                                  company-files (company-dabbrev-code company-gtags
+                                                                                      company-etags company-keywords) company-oddmuse
+                                                                                      company-dabbrev)
                   company-idle-delay .3
                   company-begin-commands '(self-insert-command)
                   company-auto-complete #'company-explicit-action-p
                   company-auto-complete-chars '(?\ ?\( ?\) ?.)
                   company-tooltip-align-annotations t
                   company-dabbrev-downcase nil)))
+#+END_SRC
+
+#+BEGIN_SRC emacs-lisp
+  (use-package company-web
+    :after company)
 #+END_SRC
 
 * Dates & Times