Syntax highlight even when the label doesn't contain a detail
This commit is contained in:
@@ -342,7 +342,7 @@ impl Grammar {
|
||||
}
|
||||
|
||||
impl CompletionLabel {
|
||||
fn plain(completion: &lsp::CompletionItem) -> Self {
|
||||
pub fn plain(completion: &lsp::CompletionItem) -> Self {
|
||||
let mut result = Self {
|
||||
text: completion.label.clone(),
|
||||
runs: Vec::new(),
|
||||
|
||||
Reference in New Issue
Block a user