                   lisp-mode-hook))
     (add-hook hook (lambda () (lispy-mode 1)))))
 (use-package emacs-lisp-mode
-  :config
-  (progn
-    (use-package eldoc
-      :config (add-hook 'emacs-lisp-mode-hook 'turn-on-eldoc-mode))
-    (use-package macrostep
-      :bind ("C-c e" . macrostep-expand))
-    (use-package ert
-      :config (add-to-list 'emacs-lisp-mode-hook 'ert--activate-font-lock-keywords))
-    (use-package company
-      :config (add-to-list 'company-backends 'company-elisp))
-    (add-to-list 'completion-styles 'initials t))
+  :interpreter (("emacs" . emacs-lisp-mode))
   :bind (("M-." . find-function-at-point)
          ("M-&" . complete-symbol))
-  :interpreter (("emacs" . emacs-lisp-mode)))
+  :config
+  (use-package eldoc     :config (add-hook 'emacs-lisp-mode-hook 'turn-on-eldoc-mode))
+  (use-package macrostep :bind   ("C-c e" . macrostep-expand))
+  (use-package ert       :config (add-to-list 'emacs-lisp-mode-hook 'ert--activate-font-lock-keywords))
+  (use-package company   :config (add-to-list 'company-backends 'company-elisp))
+  (add-to-list 'completion-styles 'initials t))
 (use-package rainbow-delimiters
   :ensure t
   :defer t
   :init (add-hook 'emacs-lisp-mode-hook (lambda () (rainbow-delimiters-mode t))))
+;; ---
+
+;; Java
+;; (use-package meghanada ; Bug
+;;   :ensure t
+;;   :init (add-hook 'java-mode-hook (lambda () (meghanada-mode t))))
 ;; ---
 
 ;; Magit

(load "~/.emacs.d/secrets/secrets")

;; Atalhos
;;(load "~/.emacs.d/core/funcs")
(use-package general
  :ensure t
  :config

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