Skip to content

Commit

Permalink
completion true/false
Browse files Browse the repository at this point in the history
  • Loading branch information
hatoo committed Feb 15, 2024
1 parent c32ed4f commit 423f7cb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/src_tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,11 @@ impl SrcTree {
kind: Some(CompletionItemKind::FUNCTION),
..Default::default()
})
.chain(vec!["true", "false"].into_iter().map(|s| CompletionItem {
label: s.to_string(),
kind: Some(CompletionItemKind::VARIABLE),
..Default::default()
}))
.collect();
}

Expand Down

0 comments on commit 423f7cb

Please sign in to comment.