mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 07:35:01 +03:00
Allow spaces in range queries (#17474)
Updates #17397 Release Notes: - vim: Fixed parsing of commands with ranges `:3 d`.
This commit is contained in:
parent
fb35cd98c8
commit
5f2a5ffadd
@ -629,7 +629,7 @@ pub fn command_interceptor(mut input: &str, cx: &AppContext) -> Option<CommandIn
|
||||
|
||||
let (range, query) = VimCommand::parse_range(input);
|
||||
let range_prefix = input[0..(input.len() - query.len())].to_string();
|
||||
let query = query.as_str();
|
||||
let query = query.as_str().trim();
|
||||
|
||||
let action = if range.is_some() && query == "" {
|
||||
Some(
|
||||
|
Loading…
Reference in New Issue
Block a user