 ; battery status
 (use-package fancy-battery
   :ensure
-  :idle
-  (fancy-battery-mode))
+  :config (fancy-battery-mode))
 
 (set-frame-font "Source Code Pro-10.5")
 


(use-package flycheck
  :ensure
  :init (global-flycheck-mode))

(use-package flycheck-pos-tip
  :ensure)

(use-package company
  :ensure

  :ensure
  :diminish yas-minor-mode
  :config
  (progn
    (global-set-key (kbd "M-/") 'company-yasnippet)
    (defun my/disable-yas-in-term ()
      (yas-minor-mode -1))
    (add-to-list 'yas-snippet-dirs "~/.emacs.d/snippets/")
