Skip to content

Commit

Permalink
Updated as of tinygo 0.26
Browse files Browse the repository at this point in the history
  • Loading branch information
sago35 committed Nov 22, 2022
1 parent dab1f04 commit aa3fc6b
Showing 1 changed file with 43 additions and 39 deletions.
82 changes: 43 additions & 39 deletions autocmpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,45 +13,49 @@ import (

// flagCompleteMap specifies which flags to autocomplete.
var flagCompleteMap = map[string][]string{
"bench": {},
"benchtime": {},
"c": nil,
"cflags": {},
"cpuprofile": {},
"deps": nil,
"dumpssa": nil,
"gc": {"none", "leaking", "extalloc", "conservative"},
"heap-size": {},
"json": nil,
"ldflags": {},
"llvm-features": nil,
"monitor": nil,
"no-debug": nil,
"o": {},
"ocd-commands": {},
"ocd-output": nil,
"ocd-verify": nil,
"opt": {"0", "1", "2", "s", "z"},
"p": {},
"panic": {"print", "trap"},
"port": {},
"print-allocs": {},
"print-stacks": nil,
"printir": nil,
"programmer": validProgrammers,
"run": {},
"scheduler": {"none", "tasks", "asyncify", "coroutines"},
"serial": {"none", "uart", "usb"},
"size": {"none", "short", "full"},
"short": nil,
"tags": {},
"target": validTargets,
"test": nil,
"verifyir": nil,
"wasm-abi": {"generic", "js"},
"work": nil,
"x": nil,
"v": nil,
"baudrate": {},
"bench": {},
"benchmem": nil,
"benchtime": {},
"c": nil,
"cflags": {},
"cpuprofile": {},
"deps": nil,
"dumpssa": nil,
"gc": {"none", "leaking", "extalloc", "conservative"},
"heap-size": {},
"interp-timeout": {},
"json": nil,
"ldflags": {},
"llvm-features": nil,
"monitor": nil,
"no-debug": nil,
"o": {},
"ocd-commands": {},
"ocd-output": nil,
"ocd-verify": nil,
"opt": {"0", "1", "2", "s", "z"},
"p": {},
"panic": {"print", "trap"},
"port": {},
"print-allocs": {},
"print-stacks": nil,
"printir": nil,
"programmer": validProgrammers,
"run": {},
"scheduler": {"none", "tasks", "asyncify", "coroutines"},
"serial": {"none", "uart", "usb"},
"size": {"none", "short", "full"},
"short": nil,
"stack-size": {},
"tags": {},
"target": validTargets,
"test": nil,
"verifyir": nil,
"wasm-abi": {"generic", "js"},
"work": nil,
"x": nil,
"v": nil,
}

// validTargets is a list of completion targets for -target. It can be overridden by arguments.
Expand Down

0 comments on commit aa3fc6b

Please sign in to comment.