  ;; If there is more than one, they won't work right.
  '(package-selected-packages
    (quote
-    (markdown-mode company-statistics use-package general company-quickhelp company-dict))))
+    (markdown-mode racket-mode rainbow-delimiters lispy yasnippet company-statistics company-quickhelp company-dict company counsel swiper ivy ace-window avy magit expand-region which-key mode-icons spaceline spacemacs-theme general use-package))))
 (custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.

                               yas-completing-prompt
                               yas-no-prompt
                               yas-x-prompt))
  (add-hook 'company-backends 'company-yasnippet)
  (yas-global-mode 1)
  (yas-reload-all))
;; ---

;; - converta a codificação do dicionário com o comando iconv -f ENCODE -t UTF-8 -o XXX
;; - configure a variável company-ispell-dictionary com o dicionário
;; - avançado: obtenha o dicionário pelo LanguageTool
(use-package ispell                     ; company-ispell
  :ensure t
  :after company
  :config
  (setq ispell-program-name "hunspell"
        ispell-dictionary "pt_BR"
        ispell-really-hunspell t
        ispell-complete-word-dict "/home/mdssjc/.emacs.d/dict/pt_BR.dic"))
;; Abreviação (Abbreviation)

;; Template
;; Yasnippet
(use-package yasnippet                  ; company-yasnippet
  :ensure t
  :diminish yas-minor-mode
  :after company
