   :commands
   (lsp lsp-deferred))
 
-(use-package lsp-treemacs)		;
-
-;; (defun aim/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))
+;;(use-package lsp-treemacs)		;
+
+(defun aim/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))
 
 ;;(use-package go-test)
 

  (which-key-setup-side-window-bottom)
  :custom (which-key-idle-delay 1.2))

(use-package select
  :straight (:type built-in)
  :defer nil
  :custom
  (x-select-enable-clipboard t)
  (x-select-enable-primary t)
  (save-interprogram-paste-before-kill t))

(use-package cus-edit
  :straight (:type built-in)
  :defer nil
  :custom
  (custom-file null-device "Don't store customizations"))

(use-package uniquify
  :straight (:type built-in)
  :defer nil
  :custom
  (uniquify-buffer-name-style 'reverse)
  (uniquify-separator "|")
  (uniquify-after-kill-buffer-p t)
  (uniquify-ignore-buffers-re "^\\*"))

(use-package ffap
  :defer nil
  :custom
  ;; Don't ping things that look like domain names.
  (ffap-machine-p-known 'reject)
  :config
  (ffap-bindings))

(use-package emacs
  :init


(use-package go-add-tags)

(require 'hl-line)
(add-hook 'prog-mode 'hl-line-mode)

(require 'recentf)
(setq recentf-max-menu-items 325
      recentf-max-saved-items 325)
(recentf-mode 1)

(defun aim/run-go-buffer ()
  "Run current buffer using go run."
