Start on completion rendering
Co-Authored-By: Antonio Scandurra <me@as-cii.com> Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
This commit is contained in:
parent
960696a504
commit
ab6eb0a655
3 changed files with 60 additions and 5 deletions
|
@ -2424,6 +2424,12 @@ impl Default for Diagnostic {
|
|||
}
|
||||
}
|
||||
|
||||
impl Completion {
|
||||
pub fn label(&self) -> &str {
|
||||
&self.lsp_completion.label
|
||||
}
|
||||
}
|
||||
|
||||
pub fn contiguous_ranges(
|
||||
values: impl Iterator<Item = u32>,
|
||||
max_len: usize,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue