File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ M._trim_procname = trim_procname
201201--- @field label ? fun ( proc : dap.utils.Proc ): string
202202--- @field prompt ? string
203203
204- --- Show a prompt to select a process pid
204+ --- Show a prompt to select a process pid and returns the pid on selection
205205--- Requires `ps ah -u $USER` on Linux/Mac and `tasklist /nh /fo csv` on windows.
206206--
207207--- Takes an optional `opts` table with the following options:
@@ -233,6 +233,7 @@ M._trim_procname = trim_procname
233233--- </pre>
234234---
235235--- @param opts ? dap.utils.pick_process.Opts
236+ --- @return integer | dap.Abort
236237function M .pick_process (opts )
237238 opts = opts or {}
238239 local cols = math.max (14 , math.floor (vim .o .columns * 0.7 ))
You can’t perform that action at this time.
0 commit comments