mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Remove syntax highlighting hack for builtin attrs
This commit is contained in:
parent
e58af219a4
commit
d1677f3286
13 changed files with 62 additions and 83 deletions
|
@ -263,8 +263,8 @@ fn module_def_to_hl_tag(def: Definition) -> HlTag {
|
|||
hir::GenericParam::ConstParam(_) => SymbolKind::ConstParam,
|
||||
},
|
||||
Definition::Label(_) => SymbolKind::Label,
|
||||
Definition::BuiltinAttr(_) => SymbolKind::Label, // FIXME
|
||||
Definition::Tool(_) => SymbolKind::Label, // FIXME
|
||||
Definition::BuiltinAttr(_) => SymbolKind::BuiltinAttr,
|
||||
Definition::Tool(_) => SymbolKind::Tool,
|
||||
};
|
||||
HlTag::Symbol(symbol)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue