  '(mouse-wheel-scroll-amount '(1 ((shift) . 1) ((control))))
  '(org-modules nil)
  '(package-selected-packages
-   '(nlinum clojure-mode salt-mode dockerfile-mode dhall-mode flycheck-elm elm-mode ox-reveal exec-path-from-shell use-package-chords outshine iedit htmlize diminish use-package color-theme-solarized markdown-mode col-highlight indent-tools lua-mode hide-region counsel command-log-mode visual-regexp rust-mode fill-column-indicator yaml-mode org ace-window swiper ggtags))
- '(which-function-mode nil))
+   '(flycheck company company-mode which-key protobuf-mode lsp-ivy p editorconfig lsp-treemacs treemacs lsp-mode nlinum clojure-mode salt-mode dockerfile-mode dhall-mode flycheck-elm elm-mode ox-reveal exec-path-from-shell use-package-chords outshine iedit htmlize diminish use-package color-theme-solarized markdown-mode col-highlight indent-tools lua-mode hide-region counsel command-log-mode visual-regexp rust-mode fill-column-indicator yaml-mode org ace-window swiper ggtags))
+ '(which-function-mode nil)
+ '(which-key-mode t))
 
 (custom-set-faces
  ;; custom-set-faces was added by Custom.

              (setq Info-additional-directory-list
                    '("/opt/local/share/info/")))))

(when (require 'fill-column-indicator nil 'noerror)
  (setq fci-rule-column 80)
  (global-set-key (kbd "C-c F") 'fci-mode))

;;; ------------------------------------------------------------------
;;; Solarized color theme

    (global-set-key "\C-cb"
                    `(lambda () (interactive) (find-file ,f)))
    (setq org-agenda-files `(,f))))
;;; --------------------------------------------------------------------

(use-package editorconfig
  :ensure t
  :config
    (editorconfig-mode 1))

(use-package treemacs
  :ensure t
  :config
  (global-set-key (kbd "C-c r") 'treemacs)
  (global-set-key (kbd "s-r") 'treemacs))

(use-package which-key
  :ensure t
  :config (which-key-mode))

;;; Language Server Protocol
(use-package lsp-mode
  :ensure t
  :hook ((rust-mode . lsp)
         (lsp-mode . lsp-enable-which-key-integration))
  :commands lsp)
(use-package lsp-treemacs
  :ensure t
  :commands lsp-treemacs-errors-list)
(use-package lsp-ivy
  :ensure t
  :commands lsp-ivy-workspace-symbol)
(use-package flycheck
  :ensure t)
;; (use-package lsp-ui
;;   :ensure t)
(use-package company
  :ensure t)

;; (use-package projectile
;;   :ensure t
;;   :config
;;   (define-key projectile-mode-map (kbd "s-p") 'projectile-command-map)
;;   ;; (define-key projectile-mode-map (kbd "C-c p") 'projectile-command-map)
;;   (projectile-mode +1))

;; (use-package counsel-projectile
;;   :ensure t
;;   :config
;;   (define-key projectile-mode-map (kbd "s-p") 'projectile-command-map))

(use-package dhall-mode
  :config
  (remove-hook 'after-change-functions 'dhall-after-change)
  (setq dhall-use-header-line nil
        dhall-format-at-save nil)
  (add-hook 'dhall-mode-hook
            (lambda () (setq indent-tabs-mode nil))))

(defun vvv/reload-tags-table (arg)
  "A combination of `tags-reset-tags-tables' and `visit-tags-table'."
