Skip to content

Commit

Permalink
lsp: fix exhaustive symbol check (#649)
Browse files Browse the repository at this point in the history
  • Loading branch information
adlerjohn authored Jan 19, 2022
1 parent f829421 commit 63f532b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sway-server/src/capabilities/document_symbol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ fn get_kind(token_type: &TokenType) -> SymbolKind {
TokenType::Struct(_) => SymbolKind::STRUCT,
TokenType::Variable(_) => SymbolKind::VARIABLE,
TokenType::Trait(_) => SymbolKind::INTERFACE,
_ => SymbolKind::NULL, // TODO SymbolKind::UNKNOWN was removed in https://github.com/gluon-lang/lsp-types/pull/219
TokenType::Reassignment => SymbolKind::OPERATOR,
}
}

0 comments on commit 63f532b

Please # to comment.