~edwargix/emacs.d

c317d07ff356335588932085457fb1e67bcc1638 — David Florness 9 years ago 539d3c4
Setup yasnippet
1 files changed, 7 insertions(+), 6 deletions(-)

M init.el
M init.el => init.el +7 -6
@@ 90,10 90,15 @@
    (setq helm-net-prefer-curl t))
  (helm-mode 1))

;;; Yasnippet: yet another snippet extension
(use-package yasnippet
  :ensure t
  :config
  (yas-global-mode 1))

;;; These will soon all be converted to `use-package` macros
;;; Install all packages
(setq my-package-list '(yasnippet
			company-quickhelp
(setq my-package-list '(company-quickhelp
			company-c-headers
			company-tern
			auctex


@@ 116,10 121,6 @@
   (package-refresh-contents)
   (mapc 'package-install my-package-list)))

;;; Yasnippet
(require 'yasnippet)
(yas-global-mode 1)

;;; Quickhelp (documentation lookup) for company
(setq company-quickhelp-idle-delay 1)
(company-quickhelp-mode 1)