conform company and treemacs to use-package style

This commit is contained in:
Mateus Rodrigues
2026-07-06 09:04:07 +01:00
parent 158ffa29c6
commit b7ec935770

View File

@@ -80,19 +80,16 @@
:demand t :demand t
:bind ("C-x g" . 'magit-status)) :bind ("C-x g" . 'magit-status))
;; ;; code completion ;; code completion
(use-package company (use-package company
:demand t :hook (after-init . global-company-mode))
:config
(add-hook 'after-init-hook 'global-company-mode))
(use-package tomlparse) (use-package tomlparse)
;; TODO I'm only using demand so <f3> is set from the start ;; TODO I'm only using demand so <f3> is set from the start
(use-package treemacs (use-package treemacs
:demand t :demand t
:config :bind ("<f3>" . 'treemacs))
(global-set-key (kbd "<f3>") 'treemacs))
;; Javascript and React ;; Javascript and React
(use-package rjsx-mode (use-package rjsx-mode