mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Restructure syntax element highlighting
This commit is contained in:
parent
0c7ea0c9a1
commit
c5ceaefa09
4 changed files with 211 additions and 190 deletions
|
@ -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>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue