mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-07-16 12:24:36 +02:00
fix(snacks): added snack_notif
filetype to be excluded in some things
This commit is contained in:
parent
ecfbf5b7f7
commit
93a5323ba6
4 changed files with 21 additions and 18 deletions
|
@ -1,5 +1,5 @@
|
|||
---@class lazyvim.util.terminal
|
||||
---@overload fun(cmd: string|string[], opts: snacks.terminal.Config): snacks.terminal
|
||||
---@overload fun(cmd: string|string[], opts: snacks.terminal.Opts): snacks.terminal
|
||||
local M = setmetatable({}, {
|
||||
__call = function(m, ...)
|
||||
return m.open(...)
|
||||
|
@ -40,7 +40,7 @@ end
|
|||
-- Opens a floating terminal (interactive by default)
|
||||
---@deprecated use Snacks.terminal instead
|
||||
---@param cmd? string[]|string
|
||||
---@param opts? snacks.terminal.Config
|
||||
---@param opts? snacks.terminal.Opts
|
||||
function M.open(cmd, opts)
|
||||
return Snacks.terminal(cmd, opts)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue