all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ari King <ari.brandeis.king@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Init File Company-Mode Setup
Date: Wed, 18 Jan 2017 12:26:53 -0800 (PST)	[thread overview]
Message-ID: <f113c19d-22ee-44b9-acb2-df47d6ba84e8@googlegroups.com> (raw)

Hi,

I'm trying to configure company-mode to activate in all buffers, with appropriate back-ends depending on file-type. To that end, I've added the following to my init.el file. 

;; Enable global company mode
(require 'company)
(add-hook 'after-init-hook 'global-company-mode)
(setq company-idle-delay 0.1)
(setq company-minimum-prefix-length 1)
(setq company-backends '((company-capf company-files company-elisp company-inf-ruby company-anaconda company-go company-irony company-clang company-cmake company-css company-yasnippet) (company-dabbrev company-dabbrev-code)))

However, regardless of which file-type I open, company-mode does not automatically activate. Help in sorting this out is appreciated.

Full init.el file is here: http://pastebin.com/eyvvzUPW


             reply	other threads:[~2017-01-18 20:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-18 20:26 Ari King [this message]
2017-01-18 20:34 ` Init File Company-Mode Setup Dmitry Gutov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f113c19d-22ee-44b9-acb2-df47d6ba84e8@googlegroups.com \
    --to=ari.brandeis.king@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.