summaryrefslogtreecommitdiff
path: root/.config/doom/custom.el
diff options
context:
space:
mode:
authorRoger Gonzalez <roger@rogs.me>2024-09-04 17:22:07 -0300
committerRoger Gonzalez <roger@rogs.me>2024-09-04 17:22:07 -0300
commit9b502052d3c8cfef061ed0ed2456fe02ac9f0d2f (patch)
treebf673baaaa55b3ec485951e7e6f4aa2995eba53b /.config/doom/custom.el
parent44852f4d927b8786012ace85f7db3dbafca87833 (diff)
Improved GPT features in EmacsHEADmaster
Diffstat (limited to '.config/doom/custom.el')
-rw-r--r--.config/doom/custom.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/.config/doom/custom.el b/.config/doom/custom.el
index 3c0a1382..6dd06f51 100644
--- a/.config/doom/custom.el
+++ b/.config/doom/custom.el
@@ -5,7 +5,9 @@
;; If there is more than one, they won't work right.
'(magit-todos-insert-after '(bottom) nil nil "Changed by setter of obsolete option `magit-todos-insert-at'")
'(safe-local-variable-values
- '((lsp-pylsp-plugins-ruff-enabled . t)
+ '((magit-gptcommit-prompt . "You are an expert programmer writing a commit message. You went over every file diff that was changed in it. Summarize the commit into a single specific and cohesive theme. Remember to write in only one line, no more than 50 characters. Write your response using the imperative tense following the kernel git commit style guide. Write a high level title. THE FILE DIFFS:```%s```. Now write Commit message in follow template: [one line of summary]")
+ (lsp-eslint-working-directories . \./src)
+ (lsp-pylsp-plugins-ruff-enabled . t)
(poetry-tracking-strategy . "projectile")
(poetry-tracking-mode quote projectile)
(poetry-tracking-strategy quote projectile)