mirror of
https://github.com/neovim/neovim.git
synced 2026-04-20 14:25:32 +00:00
docs: replace <pre> with ``` (#25136)
This commit is contained in:
@@ -5,13 +5,14 @@ local F = {}
|
||||
--- If all arguments are nil, returns nil.
|
||||
---
|
||||
--- Examples:
|
||||
--- <pre>
|
||||
---
|
||||
--- ```lua
|
||||
--- local a = nil
|
||||
--- local b = nil
|
||||
--- local c = 42
|
||||
--- local d = true
|
||||
--- assert(vim.F.if_nil(a, b, c, d) == 42)
|
||||
--- </pre>
|
||||
--- ```
|
||||
---
|
||||
---@param ... any
|
||||
---@return any
|
||||
|
||||
Reference in New Issue
Block a user