   (dashboard-setup-startup-hook)
   (setq dashboard-center-content t
 	dashboard-startup-banner 'logo)
-)
+  )
 
 ;; Syntax check
 (use-package flycheck
   :ensure t
-  :init (global-flycheck-mode))
+  :init (global-flycheck-mode)
+)
 
 ;; Git in Emacs
 (use-package magit
   :ensure t
   :init (add-hook 'git-commit-setup-hook 'turn-off-auto-fill
-          t))
+		  t)
+        (setq magit-refresh-status-buffer nil)
+	;; Disable showing diff in commit
+	(remove-hook 'server-switch-hook 'magit-commit-diff)
+  )
+(use-package forge
+  :ensure t
+  :after magit)
+
+(use-package browse-at-remote
+  :ensure t
+  :after magit)
 
 (use-package helm
   :ensure t

(eval-when-compile
  (require 'use-package))

;; Fish shell syntax highlighting
(use-package fish-mode
  :ensure t

  :ensure t
  :init
  (projectile-rails-global-mode)
  )

(use-package go-mode
  :ensure t
  )

(use-package git-gutter
  :ensure t
  :init (global-git-gutter-mode)
  )

(use-package all-the-icons
  :ensure t
  )

(use-package smartparens
  :ensure t
  :init (smartparens-global-mode)
  )

(use-package lsp-mode
  :ensure t
  :hook (prog-mode . lsp))

;; Set up before-save hooks to format buffer and add/delete imports.
;; Make sure you don't have other gofmt/goimports hooks enabled.
(defun lsp-go-install-save-hooks ()
  (add-hook 'before-save-hook #'lsp-format-buffer t t)
  (add-hook 'before-save-hook #'lsp-organize-imports t t))
(add-hook 'go-mode-hook #'lsp-go-install-save-hooks)

(use-package company-lsp
  :ensure t
  :init (push 'company-lsp company-backends))

(use-package lsp-ui
  :ensure
  )

(use-package general :ensure t
  :config
