 ;;; init.el --- my basic emacs setup for sane defaults
 
-;; Time-stamp: <2020-09-22 08:59:21 rovalent>
+;; Time-stamp: <2020-09-26 19:46:08 rovalent>
 ;; Copyright 2020 Ronald Valente
 
 ;;; Commentary:

;; LSP mode for all the things
(use-package lsp-mode
  :ensure t
  :commands (lsp lsp-execute-code-action)
  :hook ((go-mode . lsp-deferred)
         (lsp-mode . lsp-enable-which-key-integration)
         (lsp-mode . lsp-modeline-disagnostics-mode))
  :bind ("C-c C-c" . #'lsp-execute-code-action)
  :custom
  (lsp-print-performance t)
  (lsp-log-io t)
  (lsp-diagnostics-modeline-scope :project)
  (lsp-file-watch-threshold 5000)
  (lsp-enable-file-watchers nil))

(use-package lsp-ui
  :ensure t

  :ensure t
  :custom (company-lsp-enable-snippet t)
  :after (company lsp-mode))

;; Optional - provides snippet support.
(use-package yasnippet
  :ensure t
  :commands yas-minor-mode
  :hook (go-mode . yas-minor-mode))

(setq lsp-ui-doc-enable nil
      lsp-ui-peek-enable t
      lsp-ui-sideline-enable t
      lsp-ui-imenu-enable t
      lsp-ui-flycheck-enable t)

;; org mode configuration
(use-package org
