summaryrefslogtreecommitdiff
path: root/.emacs.d
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d')
-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)