aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/viml/parser/expressions.c
diff options
context:
space:
mode:
authorFamiu Haque <famiuhaque@protonmail.com>2022-05-05 01:49:29 +0600
committerFamiu Haque <famiuhaque@protonmail.com>2022-05-05 20:35:14 +0600
commit7aedcd8febaf74403851f8482529302e3ab30922 (patch)
tree68754c8f27c0a26919d2a56412dea60732551b57 /src/nvim/viml/parser/expressions.c
parente6c71574a07662c44b83c6cb07bf9b61bc06e136 (diff)
downloadrneovim-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