nixos/home/emacs/modules/custom-ide-config.el

33 lines
664 B
EmacsLisp
Raw Normal View History

(use-package rainbow-delimiters
:ensure t
:config
(add-hook 'prog-mode-hook #'rainbow-delimiters-mode))
(use-package treesit-auto
:config
(global-treesit-auto-mode +1))
(use-package apheleia
:ensure t
:config
(setq apheleia-remote-algorithm 'local)
(keymap-set global-map "C-c c f" #'apheleia-format-buffer)
(apheleia-global-mode +1))
(use-package direnv
:ensure t
:config
(setq direnv-always-show-summary nil)
(direnv-mode +1))
(use-package yasnippet
:ensure t
:config
(require 'yasnippet-snippets nil :noerror)
(yas-reload-all)
(add-hook 'prog-mode-hook #'yas-minor-mode))
(eglot-ensure)
(provide 'custom-ide-config)