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