   :config
     (general-define-key :states '(normal)
                         :prefix default-leader-key
-                        ;; "b" 'counsel-projectile-switch-to-buffer
                         "e" 'counsel-projectile-find-file
                         "p" 'counsel-projectile-switch-project
                         "<SPC>" 'counsel-projectile)

  (add-hook 'elip-mode-common-hook (function (lambda () (rainbow-delimiters-mode-enable))))
)
(use-package rainbow-mode)
(use-package solaire-mode
  :init
    (setq solaire-mode-remap-modeline nil)

    (setq hs-allow-nesting t)
    (add-hook 'prog-mode-hook (function (lambda() (hs-minor-mode))))
  )
(use-package lsp-mode
  :config
    (general-define-key :states '(normal)
                        :prefix default-leader-key
                        "ld" 'xref-find-definition
                        "lr" 'xref-find-references
                        "lf" 'lsp-format-buffer
                        "<SPC>" 'counsel-projectile)
    (require 'lsp-flycheck)
)
(use-package lsp-javascript-typescript
  :config
    (add-hook 'js-mode-hook #'lsp-javascript-typescript-enable)
    (add-hook 'rjsx-mode-hook #'lsp-javascript-typescript-enable)
)
(use-package lsp-python
  :after lsp-mode
  :config
    (add-hook 'python-mode-hook #'lsp-python-enable)
)
(use-package company-lsp
  :config
  (push 'company-lsp company-backends)
)
(use-package lua-mode)
(use-package magit
  :delight magit-auto-revert-mode
