mirror of
				https://github.com/neovim/neovim.git
				synced 2025-11-04 01:34:25 +00:00 
			
		
		
		
	fix(lsp): correct the error message's cmd on spawning (#27632)
This commit is contained in:
		@@ -819,7 +819,8 @@ function M.start(cmd, dispatchers, extra_spawn_params)
 | 
				
			|||||||
    else
 | 
					    else
 | 
				
			||||||
      sfx = string.format(' with error message: %s', err)
 | 
					      sfx = string.format(' with error message: %s', err)
 | 
				
			||||||
    end
 | 
					    end
 | 
				
			||||||
    local msg = string.format('Spawning language server with cmd: `%s` failed%s', cmd, sfx)
 | 
					    local msg =
 | 
				
			||||||
 | 
					      string.format('Spawning language server with cmd: `%s` failed%s', vim.inspect(cmd), sfx)
 | 
				
			||||||
    vim.notify(msg, vim.log.levels.WARN)
 | 
					    vim.notify(msg, vim.log.levels.WARN)
 | 
				
			||||||
    return nil
 | 
					    return nil
 | 
				
			||||||
  end
 | 
					  end
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user