 
 (use-package lsp-mode
   :commands (lsp lsp-deferred)
-  ;; :hook ((before-save . lsp-format-buffer)
-  ;;        (before-save . lsp-organize-imports))
+  :hook ((before-save . lsp-format-buffer)
+         (before-save . lsp-organize-imports))
   :bind (("C-c d" . lsp-describe-thing-at-point)
 	 ("C-c e n" . flymake-goto-next-error)
 	 ("C-c e p" . flymake-goto-prev-error)

      lsp-ui-peek-enable nil
      lsp-ui-sideline-enable nil
      lsp-ui-imenu-enable nil
      lsp-ui-flycheck-enable t)

(use-package dumb-jump
  :bind (("M-g o" . dumb-jump-go-other-window)

  :diminish smartparens-mode)

(use-package flx)

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

;; (use-package counsel
;;   :config
