mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -07:00
d675bd01b1
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) |
||
---|---|---|
.. | ||
nvim | ||
vim | ||
_vim9script.lua | ||
editorconfig.lua | ||
man.lua |