Skip to content

Commit b7efad9

Browse files
committed
feat: better templates for multi snippet
1 parent c8fc57b commit b7efad9

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

lua/gp/config.lua

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -358,17 +358,17 @@ local config = {
358358
command_auto_select_response = true,
359359

360360
-- templates
361-
template_selection = "I have the following from {{filename}}:"
361+
template_selection = "I have the following primary snippet from {{filename}}:"
362362
.. "\n\n```{{filetype}}\n{{selection}}\n```\n\n{{command}}",
363-
template_rewrite = "I have the following from {{filename}}:"
363+
template_rewrite = "I have the following primary snippet from {{filename}}:"
364364
.. "\n\n```{{filetype}}\n{{selection}}\n```\n\n{{command}}"
365-
.. "\n\nRespond exclusively with the snippet that should replace the selection above.",
366-
template_append = "I have the following from {{filename}}:"
365+
.. "\n\nRespond exclusively with the snippet that should replace the primary selection above.",
366+
template_append = "I have the following primary snippet from {{filename}}:"
367367
.. "\n\n```{{filetype}}\n{{selection}}\n```\n\n{{command}}"
368-
.. "\n\nRespond exclusively with the snippet that should be appended after the selection above.",
369-
template_prepend = "I have the following from {{filename}}:"
368+
.. "\n\nRespond exclusively with the snippet that should be appended after the primary selection above.",
369+
template_prepend = "I have the following primary snippet from {{filename}}:"
370370
.. "\n\n```{{filetype}}\n{{selection}}\n```\n\n{{command}}"
371-
.. "\n\nRespond exclusively with the snippet that should be prepended before the selection above.",
371+
.. "\n\nRespond exclusively with the snippet that should be prepended before the primary selection above.",
372372
template_command = "{{command}}",
373373
template_context_file = "\n\nHere is a file {{filename}} for additional context:"
374374
.. "\n\n```\n{{content}}\n```\n\n",

0 commit comments

Comments
 (0)