Files
neovim/runtime/plugin
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
..
2021-04-28 21:29:57 -04:00
2022-09-02 15:20:29 +01:00
2021-09-13 06:05:27 -07:00
2023-02-03 09:18:18 +01:00
2015-08-15 15:25:30 -03:00
2021-11-17 10:02:59 +01:00