neovim/runtime/lua
Gregory Anders d675bd01b1
feat(lua): allow vim.F.if_nil to take multiple arguments (#22903)
The first argument which is non-nil is returned. This is useful when
using nested default values (e.g. in the EditorConfig plugin).

Before:

  local enable = vim.F.if_nil(vim.b.editorconfig, vim.F.if_nil(vim.g.editorconfig, true))

After:

  local enable = vim.F.if_nil(vim.b.editorconfig, vim.g.editorconfig, true)
2023-04-07 08:22:47 -06:00
..
nvim fix(health): iterate using ipairs correctly (#22119) 2023-02-06 12:24:00 +08:00
vim feat(lua): allow vim.F.if_nil to take multiple arguments (#22903) 2023-04-07 08:22:47 -06:00
_vim9script.lua feat(api): nvim_exec2(), deprecate nvim_exec() #19032 2023-03-25 09:58:48 -07:00
editorconfig.lua docs(editorconfig): number → integer (#22514) 2023-03-04 13:05:57 +00:00
man.lua fix(man.lua): tests, naming 2023-03-07 15:23:06 +01:00