File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -302,6 +302,7 @@ ARG is the prefix argument for clipboard context."
302302 (format " Selected region starting on line %d "
303303 region-start-line)))))
304304 (files-context-string (ai-code--get-context-files-string))
305+ (repo-context-string (ai-code--format-repo-context-info))
305306 (prompt-label
306307 (cond
307308 ((and clipboard-context
@@ -342,7 +343,8 @@ ARG is the prefix argument for clipboard context."
342343 (concat prompt
343344 (when (and clipboard-context
344345 (string-match-p " \\ S-" clipboard-context))
345- (concat " \n\n Clipboard context:\n " clipboard-context)))))
346+ (concat " \n\n Clipboard context:\n " clipboard-context))
347+ repo-context-string)))
346348 (ai-code--insert-prompt final-prompt)))
347349
348350; ;; Flycheck integration
You can’t perform that action at this time.
0 commit comments