diff options
author | Famiu Haque <famiuhaque@protonmail.com> | 2022-05-07 08:57:21 +0600 |
---|---|---|
committer | Famiu Haque <famiuhaque@protonmail.com> | 2022-05-07 12:26:49 +0600 |
commit | 14f3383c0da1413a5ae82feb19ac89f01d4b9aad (patch) | |
tree | 5ebc5fa82a29f0dd3e3aafc927b517a0d95e7ae9 /runtime/lua/vim/lsp/util.lua | |
parent | b2a8ed08551d2edf2bf98e830860f0130acd00f8 (diff) | |
download | rneovim-14f3383c0da1413a5ae82feb19ac89f01d4b9aad.tar.gz rneovim-14f3383c0da1413a5ae82feb19ac89f01d4b9aad.tar.bz2 rneovim-14f3383c0da1413a5ae82feb19ac89f01d4b9aad.zip |
fix(api): make `nvim_parse_cmd` work correctly with both range and count
It seems range and count can be used together in commands. This PR fixes
the behavior of `nvim_parse_cmd` for those cases by removing the mutual
exclusivity of "range" and "count". It also removes range line number
validation for `nvim_parse_cmd` as it's not its job to validate the
command.
Diffstat (limited to 'runtime/lua/vim/lsp/util.lua')
0 files changed, 0 insertions, 0 deletions