doc: more detailed type annotations for setup() call

This commit is contained in:
Steven Arcangeli 2024-05-22 13:46:11 -07:00
parent 259b1fbc84
commit 2cb39e838e
6 changed files with 49 additions and 7 deletions

View file

@ -988,7 +988,7 @@ end
local _on_key_ns = 0
---Initialize oil
---@param opts nil|table
---@param opts oil.setupOpts|nil
M.setup = function(opts)
local Ringbuf = require("oil.ringbuf")
local config = require("oil.config")