summaryrefslogtreecommitdiff
path: root/.emacs.d/modules
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-12-16 01:08:40 +0200
committerThanos Apollo <[email protected]>2023-12-16 01:08:40 +0200
commit5d0e390437e437ee558a7fa8c048b37d8db142ac (patch)
treec8cbee17a2f1df705ce0622ea48961c9c7d86b64 /.emacs.d/modules
parent7b2dc5021efa29658afca5b9c4e84971114e7bcc (diff)
emacs:(tools) Update emacs-lisp config
Diffstat (limited to '.emacs.d/modules')
-rw-r--r--.emacs.d/modules/thanos-tools.el12
1 files changed, 5 insertions, 7 deletions
diff --git a/.emacs.d/modules/thanos-tools.el b/.emacs.d/modules/thanos-tools.el
index d072525..3a45a88 100644
--- a/.emacs.d/modules/thanos-tools.el
+++ b/.emacs.d/modules/thanos-tools.el
@@ -119,11 +119,14 @@
(add-hook 'shell-script-mode #'auto-insert)
;; Emacs lisp
+(require 'flycheck)
+(require 'rainbow-delimiters)
+
(setf tab-always-indent 'complete)
(add-to-list 'completion-styles 'initials t)
(add-hook 'emacs-lisp-mode-hook #'rainbow-delimiters-mode)
-(add-hook 'emacs-lisp-mode-hook #'display-line-numbers-mode)
+(setf flycheck-emacs-lisp-load-path 'inherit)
;; Disable checkdoc flycheck for org-src buffers
(add-hook 'org-src-mode-hook #'(lambda ()
@@ -144,12 +147,7 @@
(require 'json-mode)
(add-to-list 'auto-mode-alist '("\\.json'" . json-mode))
-;; ChatGPT
-(require 'gptel)
-
-(setf gptel-api-key (password-store-get "chatgpt/api")
- gptel-model 'gpt-4-32k)
-
+;; Markdown
(add-hook 'markdown-mode-hook #'(lambda () (flyspell-mode)))
(provide 'thanos-tools)