Skip to content

Commit

Permalink
Clean up code
Browse files Browse the repository at this point in the history
  • Loading branch information
Tero Karvinen committed Nov 5, 2022
1 parent 5e273b1 commit 615e77a
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -64,23 +64,6 @@ function editmenuCommand(bp)
bp:HandleCommand("tab "..userfile)
end

-- func (h *BufPane) openHelp(page string) error {
-- if data, err := config.FindRuntimeFile(config.RTHelp, page).Data(); err != nil {
-- return errors.New(fmt.Sprint("Unable to load help text", page, "\n", err))
-- } else {
-- helpBuffer := buffer.NewBufferFromString(string(data), page+".md", buffer.BTHelp)
-- helpBuffer.SetName("Help " + page)
--
-- if h.Buf.Type == buffer.BTHelp {
-- h.OpenBuffer(helpBuffer)
-- } else {
-- h.HSplitBuf(helpBuffer)
-- }
-- }
-- return nil
-- }


-- ## Menu item collection ##

function getCommand(s)
Expand Down

0 comments on commit 615e77a

Please sign in to comment.