diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2022-08-02 08:54:17 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-02 08:54:17 +1000 |
commit | 09d14b1b57ffe28e5d43d3fb3ae237cc944596ae (patch) | |
tree | 0cd720f5ee394a3a520262f1f060e03da3e5d910 /cli/lsp/completions.rs | |
parent | 924aa31fa85689b619147d906d800e3ebad4e52e (diff) |
fix(lsp): use correct commit chars for completions (#15366)
Fixes: #15252
Diffstat (limited to 'cli/lsp/completions.rs')
-rw-r--r-- | cli/lsp/completions.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/lsp/completions.rs b/cli/lsp/completions.rs index dfa2c612d..5eb42d3b0 100644 --- a/cli/lsp/completions.rs +++ b/cli/lsp/completions.rs @@ -31,7 +31,7 @@ static FILE_PROTO_RE: Lazy<Regex> = const CURRENT_PATH: &str = "."; const PARENT_PATH: &str = ".."; const LOCAL_PATHS: &[&str] = &[CURRENT_PATH, PARENT_PATH]; -const IMPORT_COMMIT_CHARS: &[&str] = &["\"", "'", "/"]; +pub(crate) const IMPORT_COMMIT_CHARS: &[&str] = &["\"", "'"]; #[derive(Debug, Serialize, Deserialize)] #[serde(rename_all = "camelCase")] |