Skip to content

Commit

Permalink
Update TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
nakabonne committed Apr 30, 2020
1 parent cdd903f commit 9ce06bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pkg/gui/item/source_files.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,11 @@ func (s *SourceFiles) SetKeybinds(globalKeybind func(event *tcell.EventKey)) {
s.SetInputCapture(func(event *tcell.EventKey) *tcell.EventKey {
node := s.GetCurrentNode()
switch event.Rune() {
case 'r':
// TODO: Run linters against the directories marked as selected.
case 'l':
// TODO: Expand toggle
if ref := node.GetReference(); ref != nil {
fmt.Println(ref)
}
case 'l':
// TODO: Expand toggle
case 'h':
// TODO: Collapse toggle
}
Expand Down
2 changes: 2 additions & 0 deletions pkg/gui/keybindings.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@ func (g *Gui) grobalKeybind(event *tcell.EventKey) {
switch event.Rune() {
case 'q':
g.application.Stop()
case 'r':
// TODO: Run golangci-lint against the directories marked as selected.
}
}

0 comments on commit 9ce06bc

Please sign in to comment.