Syntax-highlight symbols based on their kind

This commit is contained in:
Antonio Scandurra 2022-02-22 12:00:00 +01:00
parent d59ebb554b
commit 326f1f43fe
3 changed files with 112 additions and 2 deletions

View file

@ -118,6 +118,7 @@ pub struct Definition {
pub target_range: Range<language::Anchor>,
}
#[derive(Debug)]
pub struct ProjectSymbol {
pub label: CodeLabel,
pub lsp_symbol: lsp::SymbolInformation,