mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 17:36:29 +00:00

Problem: Using `addr` without `range` in nvim_create_user_command gives
"No range allowed" error, inconsistent with `:command -addr` behavior.
Solution: Set EX_RANGE flag when `addr` option is specified to match
`:command` behavior.
(cherry picked from commit 22df649210
)