diff options
| author | Lewis Russell <lewis6991@gmail.com> | 2026-09-24 13:17:46 +0100 |
|---|---|---|
| committer | Lewis Russell <me@lewisr.dev> | 2026-09-25 10:28:19 +0100 |
| commit | 20fa4b1be00e16242cdf9e977846370eeed2ec54 (patch) | |
| tree | b0b9f475c11ea460db9b2c4a6b2707f72b58dfed /runtime/lua/vim/provider/python.lua | |
| parent | affa765b076d9c48aaed38b8b40d6b3d91d736f1 (diff) | |
| download | rneovim-20fa4b1be00e16242cdf9e977846370eeed2ec54.tar.gz rneovim-20fa4b1be00e16242cdf9e977846370eeed2ec54.tar.bz2 rneovim-20fa4b1be00e16242cdf9e977846370eeed2ec54.zip | |
fix(gen): ignore return casts in generated documentation
Return-cast annotations refine types but do not add return values.
Recognize them before @return and exclude them from rendered docs. Apply
narrowing to vim.isnil() without changing its runtime behavior.
AI-assisted
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions