Repository navigation
Commit 82a7390
committed
fix(config): correct directory config precedence so project overrides global
The directories() function loaded home ~/.opencode configs AFTER project
.opencode configs, giving global config higher precedence than project
config. This contradicts the documented precedence order where project
configs should override global defaults.
Swap the order so home .opencode is merged first (as a base), then
project .opencode is merged on top, giving project config the higher
precedence as documented.
Closes anomalyco#192961 parent e96eead commit 82a7390
1 file changed
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
25 | 32 | | |
26 | 33 | | |
27 | 34 | | |
| |||
31 | 38 | | |
32 | 39 | | |
33 | 40 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
0 commit comments