1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

fix(lsp): don't commit registry completions on "/" (#20902)

This commit is contained in:
Nayeem Rahman 2023-10-13 14:38:34 +01:00 committed by GitHub
parent 7599990a4f
commit bd238be4b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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<regex::Regex> =
lazy_regex::lazy_regex!(r"\$\{\{?(\w+)\}?\}");

View file

@ -7405,7 +7405,7 @@ fn lsp_completions_registry_empty() {
},
"newText": "http://localhost:4545"
},
"commitCharacters": ["\"", "'", "/"]
"commitCharacters": ["\"", "'"]
}]
})
);