Skip to content

vim.F is deprecated in nvim 0.13 and will be removed in 0.15 #1436

Description

@e-kwsm

neovim/neovim#39495

https://neovim.io/doc/user/deprecated/#deprecated-0.13

vim.F.if_nil() Renamed to vim.nonnil()

pos = vim.F.if_nil(pos, util.get_cursor_0ind())

return vim.F.if_nil(_impl(node:parent()), current)

opts.indent = vim.F.if_nil(opts.indent, true)

LuaSnip/lua/luasnip/init.lua

Lines 1312 to 1313 in a62e108

local strict = vim.F.if_nil(opts.strict, false)
local select = vim.F.if_nil(opts.select, true)

local lazy = vim.F.if_nil(opts.lazy, false)
local add_opts = loader_util.make_add_opts(opts)
local fs_event_providers =
vim.F.if_nil(opts.fs_event_providers, { autocmd = true, libuv = false })

local lazy = vim.F.if_nil(opts.lazy, false)
local fs_event_providers =
vim.F.if_nil(opts.fs_event_providers, { autocmd = true, libuv = false })

vim.F.if_nil(opts.fs_event_providers, { autocmd = true, libuv = false })

return vim.F.if_nil(cb_res, m1_cb_res, parent_cb_res)

local warn = vim.F.if_nil(opts.warn, false)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions