You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: main.go
    path of file: ./repos/goneovim/cmd/goneovim
    
    the code of the file until where you have to start completion: package main

import (
	"fmt"
	"os"
	"runtime"

	// "runtime/pprof"
	// "github.com/felixge/fgprof"

	"github.com/akiyosi/goneovim/editor"
	"github.com/akiyosi/qt/core"
	"github.com/jessevdk/go-flags"
	"github.com/mattn/go-isatty"
)

func main() {
	// parse args
    
func parseArgs() (editor.Options, []string) {
	var options editor.Options
	parser := flags.NewParser(&options, flags.HelpFlag|flags.PassDoubleDash)
	args, err := parser.ParseArgs(os.Args[1:])
	if flagsErr, ok := err.(*flags.Error); ok {
		switch flagsErr.Type {
		case flags.ErrDuplicatedFlag:
		case flags.ErrHelp:
			fmt.Println(err)
			os.Exit(1)
		}
	}

	return options, args
}