Partially unify SymbolKind and CompletionItemKind
This commit is contained in:
@@ -137,24 +137,24 @@ fn line_index(db: &dyn LineIndexDatabase, file_id: FileId) -> Arc<LineIndex> {
|
||||
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord)]
|
||||
pub enum SymbolKind {
|
||||
Module,
|
||||
Impl,
|
||||
Field,
|
||||
TypeParam,
|
||||
ConstParam,
|
||||
LifetimeParam,
|
||||
ValueParam,
|
||||
SelfParam,
|
||||
Local,
|
||||
Label,
|
||||
Function,
|
||||
Const,
|
||||
ConstParam,
|
||||
Enum,
|
||||
Field,
|
||||
Function,
|
||||
Impl,
|
||||
Label,
|
||||
LifetimeParam,
|
||||
Local,
|
||||
Macro,
|
||||
Module,
|
||||
SelfParam,
|
||||
Static,
|
||||
Struct,
|
||||
Enum,
|
||||
Variant,
|
||||
Union,
|
||||
TypeAlias,
|
||||
Trait,
|
||||
Macro,
|
||||
TypeAlias,
|
||||
TypeParam,
|
||||
Union,
|
||||
ValueParam,
|
||||
Variant,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user