We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9373a3d commit f802730Copy full SHA for f802730
lua/plenary/init.lua
@@ -15,6 +15,7 @@
15
---@field operators PlenaryOperators
16
---@field path PlenaryPath
17
---@field reload PlenaryReload
18
+---@field run PlenaryRun
19
---@field scandir PlenaryScandir
20
---@field strings PlenaryStrings
21
---@field tbl PlenaryTbl
lua/plenary/run.lua
@@ -1,7 +1,13 @@
1
local floatwin = require "plenary.window.float"
2
3
+---@class PlenaryRun
4
local run = {}
5
6
+---@param title_text string[]
7
+---@param cmd string|string[]
8
+---@param opts? any
9
+---@return integer bufnr
10
+---@return integer win_id
11
run.with_displayed_output = function(title_text, cmd, opts)
12
local views = floatwin.centered_with_top_win(title_text)
13
0 commit comments