diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2023-06-28 04:51:55 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-28 04:51:55 -0700 |
commit | e0453d7f5743ad2f515deea76e363d11a7e1fa96 (patch) | |
tree | 72953f5e23a89cfb6f5a96831ab2fe5dc0273534 /test/functional/vimscript/functions_spec.lua | |
parent | 42f9573e5da64d6eb8e0dd9ccfefadb68773202c (diff) | |
download | rneovim-e0453d7f5743ad2f515deea76e363d11a7e1fa96.tar.gz rneovim-e0453d7f5743ad2f515deea76e363d11a7e1fa96.tar.bz2 rneovim-e0453d7f5743ad2f515deea76e363d11a7e1fa96.zip |
fix(api): nvim_cmd{cmd="win_getid"} parsed as :winsize #24181
Problem:
`:lua vim.cmd.win_getid(30,10)` is interpreted as `:win[size] 30 10`.
User intention was to call `vim.fn.win_getid(30,10)`.
Solution:
Check that the `cmd` actually matches the resolved command.
Diffstat (limited to 'test/functional/vimscript/functions_spec.lua')
0 files changed, 0 insertions, 0 deletions