   :diminish company-mode
   :init
   (setq company-idle-delay 0)
-  (add-hook 'after-init-hook 'global-company-mode))
+  (add-hook 'after-init-hook #'global-company-mode))
 
 (use-package yasnippet
   :ensure

  :commands emmet-mode
  :init
  (progn
    (add-hook 'sgml-mode-hook 'emmet-mode)
    (add-hook 'css-mode-hook 'emmet-mode)
    (add-hook 'nxml-mode-hook 'emmet-mode)))

(use-package jinja2-mode
  :ensure)

      (yas-minor-mode -1))
    (add-to-list 'yas-snippet-dirs "~/.emacs.d/snippets/")
    (yas-global-mode)
    (add-hook 'term-mode-hook #'my/disable-yas-in-term)))

(use-package undo-tree
  :ensure
