diff options
| author | glepnir <glephunter@gmail.com> | 2026-09-22 17:24:42 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-22 05:24:42 -0400 |
| commit | 6c97dd7e9bbb6503b866b8c76da370c2d44b4779 (patch) | |
| tree | f6d74ad74e5582e71386abaf60d22f13eb1a39bc /runtime/lua/vim/provider/python.lua | |
| parent | 0f7538c4abb2cebdb34ab9736deea63006858542 (diff) | |
| download | rneovim-6c97dd7e9bbb6503b866b8c76da370c2d44b4779.tar.gz rneovim-6c97dd7e9bbb6503b866b8c76da370c2d44b4779.tar.bz2 rneovim-6c97dd7e9bbb6503b866b8c76da370c2d44b4779.zip | |
refactor(api): reuse parse_cmdline in nvim_cmd #38508
Problem:
nvim_cmd() duplicates Ex parsing: it sets the address type and default
range itself and builds the whole command line in build_cmdline_str().
Solution:
Build only the range, command name and arguments, and let
parse_cmdline() fill in exarg_T.
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions