mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
remove un-used?
This commit is contained in:
parent
c7e60e69a0
commit
02f0aca18c
3 changed files with 1 additions and 4 deletions
|
@ -247,7 +247,6 @@ impl AnalyzedDocument {
|
||||||
//TODO: this doesn't work with builtins for some reason
|
//TODO: this doesn't work with builtins for some reason
|
||||||
Some(get_upper_case_completion_items(
|
Some(get_upper_case_completion_items(
|
||||||
symbol_prefix,
|
symbol_prefix,
|
||||||
module_id,
|
|
||||||
interns,
|
interns,
|
||||||
imports,
|
imports,
|
||||||
other_modules_subs,
|
other_modules_subs,
|
||||||
|
@ -274,7 +273,6 @@ impl AnalyzedDocument {
|
||||||
info!("Getting module completion");
|
info!("Getting module completion");
|
||||||
let completions = get_upper_case_completion_items(
|
let completions = get_upper_case_completion_items(
|
||||||
symbol_prefix,
|
symbol_prefix,
|
||||||
module_id,
|
|
||||||
interns,
|
interns,
|
||||||
imports,
|
imports,
|
||||||
other_modules_subs,
|
other_modules_subs,
|
||||||
|
|
|
@ -326,7 +326,6 @@ pub fn get_completion_items(
|
||||||
}
|
}
|
||||||
pub fn get_upper_case_completion_items(
|
pub fn get_upper_case_completion_items(
|
||||||
prefix: String,
|
prefix: String,
|
||||||
module_id: &ModuleId,
|
|
||||||
interns: &Interns,
|
interns: &Interns,
|
||||||
imported_modules: &HashMap<ModuleId, Arc<Vec<(Symbol, Variable)>>>,
|
imported_modules: &HashMap<ModuleId, Arc<Vec<(Symbol, Variable)>>>,
|
||||||
all_subs: &Mutex<HashMap<ModuleId, Subs>>,
|
all_subs: &Mutex<HashMap<ModuleId, Subs>>,
|
||||||
|
|
|
@ -61,7 +61,7 @@ pub fn module_documentation(
|
||||||
};
|
};
|
||||||
|
|
||||||
match description_type {
|
match description_type {
|
||||||
DescripitonType::Name => md_doc(format!("{0} module", mod_name)),
|
DescripitonType::Name => md_doc(format!("`{0}` module", mod_name)),
|
||||||
DescripitonType::Exposes => md_doc(format!("```roc\n{0}\n```", exposed())),
|
DescripitonType::Exposes => md_doc(format!("```roc\n{0}\n```", exposed())),
|
||||||
DescripitonType::NameAndExposes => md_doc(format!(
|
DescripitonType::NameAndExposes => md_doc(format!(
|
||||||
"`{0}` module\n```roc\n{1}\n```",
|
"`{0}` module\n```roc\n{1}\n```",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue