mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +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
|
@ -145,6 +145,7 @@ fn line_index(db: &dyn LineIndexDatabase, file_id: FileId) -> Arc<LineIndex> {
|
|||
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord)]
|
||||
pub enum SymbolKind {
|
||||
BuiltinAttr,
|
||||
Const,
|
||||
ConstParam,
|
||||
Enum,
|
||||
|
@ -159,6 +160,7 @@ pub enum SymbolKind {
|
|||
SelfParam,
|
||||
Static,
|
||||
Struct,
|
||||
Tool,
|
||||
Trait,
|
||||
TypeAlias,
|
||||
TypeParam,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue