  ;; If there is more than one, they won't work right.
  '(package-selected-packages
    (quote
-    (lsp-mode all-the-icons-dired doom-themes doom-theme evil yaml-mode writegood-mode use-package-ensure-system-package terraform-mode json-mode htmlize forge flycheck exec-path-from-shell elpy dired-sidebar company-shell company-go base16-theme all-the-icons))))
+    (lsp-mode doom-themes evil exec-path-from-shell ))))
 (custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.

  (load-theme 'doom-nord-light t)
  (doom-themes-org-config))

;; Enable a sidebar for navigation
(use-package dired-sidebar
  :ensure t
  :bind (("C-x C-n" . dired-sidebar-toggle-sidebar))
  :commands (dired-sidebar-toggle-sidebar))

;; Enable icons with dired-sidebar
(use-package all-the-icons-dired
  :ensure t
  :config
  (add-hook 'dired-mode-hook 'all-the-icons-dired-mode))

;; Enable language server protocol support
(use-package lsp-mode
  :ensure t

(use-package go-mode
  :ensure t
  :config
  (add-hook 'go-mode-hook 'lsp-deferred))
  
;; Fancy titlebar for macOS
(add-to-list 'default-frame-alist '(ns-transparent-titlebar . t))
(add-to-list 'default-frame-alist '(ns-appearance . darl))
