diff --git a/cli/lsp/registries.rs b/cli/lsp/registries.rs index ea33219e8e44f9..b5a645e721acf2 100644 --- a/cli/lsp/registries.rs +++ b/cli/lsp/registries.rs @@ -64,7 +64,7 @@ const COMPONENT: &percent_encoding::AsciiSet = &percent_encoding::CONTROLS .add(b'+') .add(b','); -const REGISTRY_IMPORT_COMMIT_CHARS: &[&str] = &["\"", "'", "/"]; +const REGISTRY_IMPORT_COMMIT_CHARS: &[&str] = &["\"", "'"]; static REPLACEMENT_VARIABLE_RE: Lazy = lazy_regex::lazy_regex!(r"\$\{\{?(\w+)\}?\}"); diff --git a/cli/tests/integration/lsp_tests.rs b/cli/tests/integration/lsp_tests.rs index b5af78b1149bca..5f76d3de2034ab 100644 --- a/cli/tests/integration/lsp_tests.rs +++ b/cli/tests/integration/lsp_tests.rs @@ -7405,7 +7405,7 @@ fn lsp_completions_registry_empty() { }, "newText": "http://localhost:4545" }, - "commitCharacters": ["\"", "'", "/"] + "commitCharacters": ["\"", "'"] }] }) );