diff options
| author | Yi Ming <ofseed@foxmail.com> | 2025-12-26 13:08:12 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-26 00:08:12 -0500 |
| commit | e855a23c02a7f74b39a8858ce818ede5b9ecd4b1 (patch) | |
| tree | 9adb41438efcf9bd440a99c40c134abd4ee3a25b /runtime/lua/vim/_core/stringbuffer.lua | |
| parent | c03d635a1243287dd0a0b7d1f471ea12a5786a87 (diff) | |
feat(lsp): on_accept can return item to customize behavior #37092
Problem:
`on_accept` is a bit cumbersome to customize.
Solution:
* Before: users had to override the entire `on_accept` logic for their changes to be applied.
* Now: users can modify the item and return it to apply the modified changes, or return `nil` to fully customize how the changes are applied.
Diffstat (limited to 'runtime/lua/vim/_core/stringbuffer.lua')
0 files changed, 0 insertions, 0 deletions
