2023-10-31 07:59:37 +00:00
|
|
|
(when (require 'rainbow-delimiters nil :noerror)
|
2023-10-29 07:00:48 +00:00
|
|
|
(add-hook 'prog-mode-hook #'rainbow-delimiters-mode))
|
2023-10-27 06:51:20 +01:00
|
|
|
|
2023-10-31 07:59:37 +00:00
|
|
|
(when (require 'treesit-aut nil :noerror)
|
2023-10-29 07:00:48 +00:00
|
|
|
(global-treesit-auto-mode +1))
|
2023-10-27 06:51:20 +01:00
|
|
|
|
2023-11-01 08:37:30 +00:00
|
|
|
(setq apheleia-remote-algorithm 'local)
|
2023-10-31 07:59:37 +00:00
|
|
|
(when (require 'apheleia nil :noerror)
|
2023-11-04 12:23:46 +00:00
|
|
|
(keymap-global-set "C-c c f" #'apheleia-format-buffer)
|
2023-10-29 07:00:48 +00:00
|
|
|
(apheleia-global-mode +1))
|
2023-10-27 06:51:20 +01:00
|
|
|
|
2023-10-31 07:59:37 +00:00
|
|
|
(when (require 'eglot nil :noerror)
|
|
|
|
(eglot-ensure))
|
|
|
|
|
2023-11-01 08:37:30 +00:00
|
|
|
(setq direnv-always-show-summary nil)
|
2023-10-31 07:59:37 +00:00
|
|
|
(when (require 'direnv nil :noerror)
|
2023-10-29 07:00:48 +00:00
|
|
|
(direnv-mode +1))
|
2023-10-27 06:51:20 +01:00
|
|
|
|
2023-10-31 07:59:37 +00:00
|
|
|
(when (require 'yasnippet nil :noerror)
|
2023-10-27 06:51:20 +01:00
|
|
|
(require 'yasnippet-snippets nil :noerror)
|
|
|
|
(yas-reload-all)
|
|
|
|
(add-hook 'prog-mode-hook #'yas-minor-mode))
|
2023-10-24 08:06:35 +01:00
|
|
|
|
|
|
|
(provide 'custom-ide-config)
|