summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2016-06-17 17:36:07 +0200
committerAlan Pearce2016-06-17 17:36:18 +0200
commit19d04e26542182cd1cf6e69c3a5c7336071bd28f (patch)
treeac17524845e6638887b0149ed44583bb959c949e /tag-emacs
parent75205cb2610e25e0cb9157407b4e823ae82eea34 (diff)
downloadnixfiles-19d04e26542182cd1cf6e69c3a5c7336071bd28f.tar.lz
nixfiles-19d04e26542182cd1cf6e69c3a5c7336071bd28f.tar.zst
nixfiles-19d04e26542182cd1cf6e69c3a5c7336071bd28f.zip
Emacs: Add company-web and re-work backends list
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.org12
1 files changed, 10 insertions, 2 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index 6cd83be0..58c28c66 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -899,8 +899,11 @@ seems to work perfectly well for me.
            ("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
@@ -909,6 +912,11 @@ seems to work perfectly well for me.
                   company-dabbrev-downcase nil)))
 #+END_SRC
 
+#+BEGIN_SRC emacs-lisp
+  (use-package company-web
+    :after company)
+#+END_SRC
+
 * Dates & Times
 
 ** Calendar