mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 09:44:59 +00:00
copy
This commit is contained in:
parent
3f07ca6551
commit
f4cd410421
1 changed files with 8 additions and 2 deletions
|
@ -28,11 +28,11 @@ or `aider --read CONVENTIONS.md`.
|
|||
This way it is marked as read-only, and cached if prompt caching
|
||||
is enabled.
|
||||
|
||||
## Always load conventions
|
||||
|
||||
You can also configure aider to always load your conventions file
|
||||
in the [`.aider.conf.yml` config file](https://aider.chat/docs/config/aider_conf.html):
|
||||
|
||||
See below for an example of how the conventions can affect the code
|
||||
that aider writes.
|
||||
|
||||
```yaml
|
||||
# alone
|
||||
|
@ -42,6 +42,12 @@ read: CONVENTIONS.md
|
|||
read: [CONVENTIONS.md, anotherfile.txt]
|
||||
```
|
||||
|
||||
|
||||
## Example
|
||||
|
||||
See below for an example of how the conventions can affect the code
|
||||
that aider writes.
|
||||
|
||||
<div class="chat-transcript" markdown="1">
|
||||
> $ aider --read CONVENTIONS.md useragent.py
|
||||
>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue