Restructure syntax element highlighting

This commit is contained in:
Lukas Wirth 2021-09-30 21:36:20 +02:00
parent 0c7ea0c9a1
commit c5ceaefa09
4 changed files with 211 additions and 190 deletions

View file

@ -12,11 +12,10 @@ use syntax::{
use crate::{
doc_links::{doc_attributes, extract_definitions_from_docs, resolve_doc_path_for_def},
syntax_highlighting::{highlights::Highlights, injector::Injector},
Analysis, HlMod, HlRange, HlTag, RootDatabase,
};
use super::{highlights::Highlights, injector::Injector};
pub(super) fn ra_fixture(
hl: &mut Highlights,
sema: &Semantics<RootDatabase>,