Commit 536c5c6
authored
refactor(core): improve config handling and setup logic (#1290)
- Use metatable for lazy config loading in main module
- Update setup to merge config values instead of replacing table
- Remove unused autocmd trigger for CopilotChatLoaded
- Set default separator directly when empty1 parent 6eb4d81 commit 536c5c6
1 file changed
Lines changed: 13 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
19 | 26 | | |
20 | 27 | | |
21 | 28 | | |
| |||
1187 | 1194 | | |
1188 | 1195 | | |
1189 | 1196 | | |
1190 | | - | |
1191 | | - | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
1192 | 1201 | | |
1193 | 1202 | | |
1194 | 1203 | | |
| |||
1212 | 1221 | | |
1213 | 1222 | | |
1214 | 1223 | | |
1215 | | - | |
| 1224 | + | |
1216 | 1225 | | |
1217 | 1226 | | |
1218 | 1227 | | |
| |||
1310 | 1319 | | |
1311 | 1320 | | |
1312 | 1321 | | |
1313 | | - | |
1314 | | - | |
1315 | 1322 | | |
1316 | 1323 | | |
1317 | 1324 | | |
0 commit comments