mirror of
https://github.com/neovim/neovim.git
synced 2025-10-22 17:11:49 +00:00
Lsp: fix vim.F.ifnil to vim.F.if_nil (#13384)
This commit is contained in:
@@ -988,8 +988,8 @@ function protocol.resolve_capabilities(server_capabilities)
|
|||||||
elseif type(workspace.workspaceFolders) == 'table' then
|
elseif type(workspace.workspaceFolders) == 'table' then
|
||||||
workspace_properties = {
|
workspace_properties = {
|
||||||
workspace_folder_properties = {
|
workspace_folder_properties = {
|
||||||
supported = vim.F.ifnil(workspace.workspaceFolders.supported, false);
|
supported = vim.F.if_nil(workspace.workspaceFolders.supported, false);
|
||||||
changeNotifications = vim.F.ifnil(workspace.workspaceFolders.changeNotifications, false);
|
changeNotifications = vim.F.if_nil(workspace.workspaceFolders.changeNotifications, false);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user