mirror of
				https://github.com/neovim/neovim.git
				synced 2025-11-04 09:44:31 +00:00 
			
		
		
		
	use if_nil variable replace vim.F.if_nil
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.if_nil(workspace.workspaceFolders.supported, false);
 | 
					        supported = if_nil(workspace.workspaceFolders.supported, false);
 | 
				
			||||||
        changeNotifications = vim.F.if_nil(workspace.workspaceFolders.changeNotifications, false);
 | 
					        changeNotifications = if_nil(workspace.workspaceFolders.changeNotifications, false);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user