diff options
author | Famiu Haque <famiuhaque@protonmail.com> | 2022-05-05 01:49:29 +0600 |
---|---|---|
committer | Famiu Haque <famiuhaque@protonmail.com> | 2022-05-05 20:35:14 +0600 |
commit | 7aedcd8febaf74403851f8482529302e3ab30922 (patch) | |
tree | 68754c8f27c0a26919d2a56412dea60732551b57 /src/nvim/viml/parser/expressions.c | |
parent | e6c71574a07662c44b83c6cb07bf9b61bc06e136 (diff) | |
download | rneovim-7aedcd8febaf74403851f8482529302e3ab30922.tar.gz rneovim-7aedcd8febaf74403851f8482529302e3ab30922.tar.bz2 rneovim-7aedcd8febaf74403851f8482529302e3ab30922.zip |
refactor(api): make `range` in `nvim_parse_cmd` an array
Changes the `range` value in `nvim_parse_cmd` into an array to describe
range information more concisely. Also makes `range` and `count` be
mutually exclusive by making count `-1` when command takes a range
instead of a count. Additionally corrects the behavior of `count` for
built-in commands by making the default count `0`.
Diffstat (limited to 'src/nvim/viml/parser/expressions.c')
0 files changed, 0 insertions, 0 deletions