Skip to content

Commit

Permalink
Separate var
Browse files Browse the repository at this point in the history
  • Loading branch information
WeetHet committed Oct 9, 2024
1 parent 9bc954e commit 022d365
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ impl zed::Extension for ScalaExtension {
| CompletionKind::Class
| CompletionKind::Interface
| CompletionKind::Module => "class ",
CompletionKind::Variable => "var ",
CompletionKind::Field
| CompletionKind::Variable
| CompletionKind::Constant
| CompletionKind::Value
| CompletionKind::Property => "val ",
Expand Down Expand Up @@ -106,8 +106,8 @@ impl zed::Extension for ScalaExtension {
| SymbolKind::Interface
| SymbolKind::Constructor => "class ",
SymbolKind::Method | SymbolKind::Function => "def ",
SymbolKind::Property => todo!(),
SymbolKind::Field | SymbolKind::Variable | SymbolKind::Constant => "val ",
SymbolKind::Variable => "var ",
SymbolKind::Property | SymbolKind::Field | SymbolKind::Constant => "val ",
_ => "",
};
let name = symbol.name;
Expand Down

0 comments on commit 022d365

Please sign in to comment.