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:
parent
7599990a4f
commit
bd238be4b5
2 changed files with 2 additions and 2 deletions
|
@ -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+)\}?\}");
|
||||
|
|
|
@ -7405,7 +7405,7 @@ fn lsp_completions_registry_empty() {
|
|||
},
|
||||
"newText": "http://localhost:4545"
|
||||
},
|
||||
"commitCharacters": ["\"", "'", "/"]
|
||||
"commitCharacters": ["\"", "'"]
|
||||
}]
|
||||
})
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue