From 6be77ef2e5bd07cff220e069db76d2a63f24ceef Mon Sep 17 00:00:00 2001 From: weartist Date: Thu, 22 Feb 2024 15:31:15 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/vim/src/object.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/vim/src/object.rs b/crates/vim/src/object.rs index 63f75be2a5..cd4b654c4d 100644 --- a/crates/vim/src/object.rs +++ b/crates/vim/src/object.rs @@ -253,7 +253,7 @@ fn surrounding_html_tag( let mut final_stack: Vec = Vec::new(); for cap in re.captures_iter(map.text().as_str()) { // If it's a self-closing tag, skip - if let Some(matched) = cap.get(3) { + if let Some(_) = cap.get(3) { continue; } // If not have tag name ,skip