Skip to content

Commit

Permalink
feat: autocomplete local variable bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
hugocaillard committed Jan 11, 2023
1 parent b154aaa commit 9ffdad0
Show file tree
Hide file tree
Showing 10 changed files with 383 additions and 273 deletions.
4 changes: 2 additions & 2 deletions components/clarity-lsp/src/common/requests/api_ref.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ lazy_static! {
api_references.insert(
define_function.to_string(),
(reference.version, Vec::from([
&code(format!("{:} -> {:}", &reference.signature, &reference.output_type).as_str()),
&code(&reference.signature),
separator,
"**Description**",
&reference.description,
Expand All @@ -39,7 +39,7 @@ lazy_static! {
api_references.insert(
native_function.to_string(),
(reference.version, Vec::from([
&code(format!("{:} -> {:}", &reference.signature, &reference.output_type).as_str()),
&code(format!("{} -> {}", &reference.signature, &reference.output_type).as_str()),
separator,
"**Description**",
&reference.description,
Expand Down
Loading

0 comments on commit 9ffdad0

Please sign in to comment.