Skip to content

Commit

Permalink
Add 6502 instruction set hover provider to factory
Browse files Browse the repository at this point in the history
  • Loading branch information
jkeresman01 committed Feb 20, 2025
1 parent 2033d05 commit 015c673
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Hover/HoverProviderFactory.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ class HoverProviderFactory
return std::make_shared<FakeHoverProvider>();
}

if (hoverProvider == "6502ISA")
{
return std::make_shared<InstructionSet6502HoverProvider>();
}

//TODO default to FakeHoverProvider
return std::make_shared<InstructionSet6502HoverProvider>();
}
};
Expand Down

0 comments on commit 015c673

Please sign in to comment.